diff options
-rw-r--r-- | tests/unit/controller/TranslationControllerTest.php | 4 | ||||
-rw-r--r-- | tests/unit/lib/Utility/UtilsTest.php | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/tests/unit/controller/TranslationControllerTest.php b/tests/unit/controller/TranslationControllerTest.php index 27cf3271..e57be2e6 100644 --- a/tests/unit/controller/TranslationControllerTest.php +++ b/tests/unit/controller/TranslationControllerTest.php @@ -49,8 +49,8 @@ class TranslationControllerTest extends PHPUnit_Framework_TestCase { /** * @covers ::getLanguageStrings */ - public function getLanguageStrings() { - $result = $this->controller->getLanguageStrings(); + public function testGetLanguageStrings() { + $result = $this->controller->getLanguageStrings(null); $this->assertTrue($result instanceof JSONResponse); } }
\ No newline at end of file diff --git a/tests/unit/lib/Utility/UtilsTest.php b/tests/unit/lib/Utility/UtilsTest.php index a527d030..5a06c7f7 100644 --- a/tests/unit/lib/Utility/UtilsTest.php +++ b/tests/unit/lib/Utility/UtilsTest.php @@ -29,7 +29,6 @@ use OCA\Passman\Utility\Utils; class UtilsTest extends PHPUnit_Framework_TestCase { /** * @covers ::GUID - * @requires function com_create_guid */ public function testGUID(){ $pattern = '/[A-Z0-9]{8}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{12}/'; |