diff options
author | brantje <brantje@gmail.com> | 2016-12-22 01:04:38 +0300 |
---|---|---|
committer | brantje <brantje@gmail.com> | 2016-12-22 01:04:38 +0300 |
commit | af70943faac06b30d067166425e329a1cb985dbc (patch) | |
tree | d524ca8d1a5620b165b2384748724ed7add834ff /tests | |
parent | ca0e527470b2ba88da87d4efdea60ddc6cb39fa1 (diff) |
Fix some tests
Diffstat (limited to 'tests')
-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}/'; |