Skip to content

Commit 42f24b0

Browse files
committed
Fix phpunit issue from customfield_category with other plugin
1 parent 4fc8dae commit 42f24b0

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']
129129
);
130130

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

0 commit comments

Comments
 (0)