Skip to content

Commit a0bfa7c

Browse files
committed
Correctly include privacy provider fixture files.
1 parent d69de52 commit a0bfa7c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/privacy/provider_test.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424

2525
defined('MOODLE_INTERNAL') || die();
2626

27-
require_once(__DIR__ . '/../fixtures/test_indicator_max.php');
28-
require_once(__DIR__ . '/../fixtures/test_indicator_min.php');
29-
require_once(__DIR__ . '/../fixtures/test_target_site_users.php');
30-
require_once(__DIR__ . '/../fixtures/test_target_course_users.php');
27+
require_once(__DIR__ . '/../../../analytics/tests/fixtures/test_indicator_max.php');
28+
require_once(__DIR__ . '/../../../analytics/tests/fixtures/test_indicator_min.php');
29+
require_once(__DIR__ . '/../../../analytics/tests/fixtures/test_target_site_users.php');
30+
require_once(__DIR__ . '/../../../analytics/tests/fixtures/test_target_course_users.php');
3131

3232
/**
3333
* Unit tests for privacy.
@@ -212,7 +212,7 @@ public function test_delete_data_for_users() {
212212

213213
// Count annotations, reports, and comments.
214214
$count_annotations = count($DB->get_records_select('pdfannotator_annotations', $sql, $params));
215-
$this->assertCount(0, $count_annotations);
215+
$this->assertCount(0, $count_annotations);
216216
$count_reports = count($DB->get_records_select('pdfannotator_reports', $sql, $params));
217217
$this->assertCount(0, $count_reports);
218218
$count_comments = count($DB->get_records_select('pdfannotator_comments', $sql, $params));
@@ -226,6 +226,6 @@ public function test_delete_data_for_users() {
226226
AND imgs.userid {$userinsql}
227227
AND imgs.itemid {$commentinsql}",
228228
array_merge($userinparams, $commentinparams));
229-
$this->assertCount(0, $count_pics);
229+
$this->assertCount(0, $count_pics);
230230
}
231231
}

0 commit comments

Comments
 (0)