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

Adjusted method name.

parent 4410e460
No related merge requests found
...@@ -74,7 +74,7 @@ trait UserCreationTrait ...@@ -74,7 +74,7 @@ trait UserCreationTrait
* *
* @throws \Exception * @throws \Exception
*/ */
protected static function tearDownUsers($users) protected static function removeUsers($users)
{ {
// If CI is not running, all tests were skipped, so no work is necessary: // If CI is not running, all tests were skipped, so no work is necessary:
$test = new static(); // create instance of current class $test = new static(); // create instance of current class
......
...@@ -281,6 +281,6 @@ class DatabaseTest extends \VuFindTest\Unit\DbTestCase ...@@ -281,6 +281,6 @@ class DatabaseTest extends \VuFindTest\Unit\DbTestCase
*/ */
public static function tearDownAfterClass() public static function tearDownAfterClass()
{ {
static::tearDownUsers('testuser'); static::removeUsers('testuser');
} }
} }
\ No newline at end of file
...@@ -190,7 +190,7 @@ class ILSTest extends \VuFindTest\Unit\DbTestCase ...@@ -190,7 +190,7 @@ class ILSTest extends \VuFindTest\Unit\DbTestCase
*/ */
public static function tearDownAfterClass() public static function tearDownAfterClass()
{ {
static::tearDownUsers('testuser'); static::removeUsers('testuser');
} }
/** /**
......
...@@ -224,6 +224,6 @@ class ShibbolethTest extends \VuFindTest\Unit\DbTestCase ...@@ -224,6 +224,6 @@ class ShibbolethTest extends \VuFindTest\Unit\DbTestCase
*/ */
public static function tearDownAfterClass() public static function tearDownAfterClass()
{ {
static::tearDownUsers('testuser'); static::removeUsers('testuser');
} }
} }
\ No newline at end of file
...@@ -369,6 +369,6 @@ class FavoritesTest extends \VuFindTest\Unit\MinkTestCase ...@@ -369,6 +369,6 @@ class FavoritesTest extends \VuFindTest\Unit\MinkTestCase
*/ */
public static function tearDownAfterClass() public static function tearDownAfterClass()
{ {
static::tearDownUsers(['username1', 'username2']); static::removeUsers(['username1', 'username2']);
} }
} }
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