From d4016aedb68f76defa91bf01ad03c601958995c8 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Tue, 20 Oct 2015 10:33:57 -0400
Subject: [PATCH] Adjusted method name.

---
 module/VuFind/src/VuFindTest/Unit/UserCreationTrait.php         | 2 +-
 .../integration-tests/src/VuFindTest/Auth/DatabaseTest.php      | 2 +-
 .../tests/integration-tests/src/VuFindTest/Auth/ILSTest.php     | 2 +-
 .../integration-tests/src/VuFindTest/Auth/ShibbolethTest.php    | 2 +-
 .../integration-tests/src/VuFindTest/Mink/FavoritesTest.php     | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/module/VuFind/src/VuFindTest/Unit/UserCreationTrait.php b/module/VuFind/src/VuFindTest/Unit/UserCreationTrait.php
index d87708c19c7..10c30b2144c 100644
--- a/module/VuFind/src/VuFindTest/Unit/UserCreationTrait.php
+++ b/module/VuFind/src/VuFindTest/Unit/UserCreationTrait.php
@@ -74,7 +74,7 @@ trait UserCreationTrait
      *
      * @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:
         $test = new static();   // create instance of current class
diff --git a/module/VuFind/tests/integration-tests/src/VuFindTest/Auth/DatabaseTest.php b/module/VuFind/tests/integration-tests/src/VuFindTest/Auth/DatabaseTest.php
index 6ad3e11ebcd..5d41a986317 100644
--- a/module/VuFind/tests/integration-tests/src/VuFindTest/Auth/DatabaseTest.php
+++ b/module/VuFind/tests/integration-tests/src/VuFindTest/Auth/DatabaseTest.php
@@ -281,6 +281,6 @@ class DatabaseTest extends \VuFindTest\Unit\DbTestCase
      */
     public static function tearDownAfterClass()
     {
-        static::tearDownUsers('testuser');
+        static::removeUsers('testuser');
     }
 }
\ No newline at end of file
diff --git a/module/VuFind/tests/integration-tests/src/VuFindTest/Auth/ILSTest.php b/module/VuFind/tests/integration-tests/src/VuFindTest/Auth/ILSTest.php
index 696102a8566..0c6ad97b87b 100644
--- a/module/VuFind/tests/integration-tests/src/VuFindTest/Auth/ILSTest.php
+++ b/module/VuFind/tests/integration-tests/src/VuFindTest/Auth/ILSTest.php
@@ -190,7 +190,7 @@ class ILSTest extends \VuFindTest\Unit\DbTestCase
      */
     public static function tearDownAfterClass()
     {
-        static::tearDownUsers('testuser');
+        static::removeUsers('testuser');
     }
 
     /**
diff --git a/module/VuFind/tests/integration-tests/src/VuFindTest/Auth/ShibbolethTest.php b/module/VuFind/tests/integration-tests/src/VuFindTest/Auth/ShibbolethTest.php
index 0e72749c24d..2af5ff73b83 100644
--- a/module/VuFind/tests/integration-tests/src/VuFindTest/Auth/ShibbolethTest.php
+++ b/module/VuFind/tests/integration-tests/src/VuFindTest/Auth/ShibbolethTest.php
@@ -224,6 +224,6 @@ class ShibbolethTest extends \VuFindTest\Unit\DbTestCase
      */
     public static function tearDownAfterClass()
     {
-         static::tearDownUsers('testuser');
+         static::removeUsers('testuser');
    }
 }
\ No newline at end of file
diff --git a/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/FavoritesTest.php b/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/FavoritesTest.php
index 80c1abdbdb3..0e35be7a0c1 100644
--- a/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/FavoritesTest.php
+++ b/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/FavoritesTest.php
@@ -369,6 +369,6 @@ class FavoritesTest extends \VuFindTest\Unit\MinkTestCase
      */
     public static function tearDownAfterClass()
     {
-        static::tearDownUsers(['username1', 'username2']);
+        static::removeUsers(['username1', 'username2']);
     }
 }
-- 
GitLab