Skip to content
Snippets Groups Projects
Commit a34c1b1e authored by Demian Katz's avatar Demian Katz
Browse files

Fixed bug: $this in static methods.

parent a9ae8396
No related merge requests found
......@@ -62,7 +62,7 @@ class DatabaseTest extends \VuFindTest\Unit\DbTestCase
// on a real system -- it's only meant for the continuous integration server)
$userTable = $test->getTable('User');
if (count($userTable->select()) > 0) {
return $this->markTestSkipped(
return self::markTestSkipped(
'Test cannot run with pre-existing user data!'
);
}
......
......@@ -69,7 +69,7 @@ class ILSTest extends \VuFindTest\Unit\DbTestCase
// on a real system -- it's only meant for the continuous integration server)
$userTable = $test->getTable('User');
if (count($userTable->select()) > 0) {
return $this->markTestSkipped(
return self::markTestSkipped(
'Test cannot run with pre-existing user data!'
);
}
......
......@@ -55,7 +55,7 @@ class ShibbolethTest extends \VuFindTest\Unit\DbTestCase
// on a real system -- it's only meant for the continuous integration server)
$userTable = $test->getTable('User');
if (count($userTable->select()) > 0) {
return $this->markTestSkipped(
return self::markTestSkipped(
'Test cannot run with pre-existing user data!'
);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment