Skip to content

Commit 9eb38ef

Browse files
authored
Merge pull request #120 from catalyst/fix-phpunit-error
Fix phpunit issue from customfield_category with other plugin
2 parents 4fc8dae + 598510f commit 9eb38ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/datasource_userlist_test.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public function check_database(object $importdata, int $itemid) {
125125

126126
$categoryrecord = $DB->get_records(
127127
'customfield_category',
128-
['itemid' => $itemid]
128+
['itemid' => $itemid, 'component' => 'mod_cms', 'area' => 'cmsuserlist']
129129
);
130130

131131
$this->assertEquals(1, count($categoryrecord));

0 commit comments

Comments
 (0)