Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/passman.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorbrantje <brantje@gmail.com>2016-12-22 01:04:38 +0300
committerbrantje <brantje@gmail.com>2016-12-22 01:04:38 +0300
commitaf70943faac06b30d067166425e329a1cb985dbc (patch)
treed524ca8d1a5620b165b2384748724ed7add834ff /tests
parentca0e527470b2ba88da87d4efdea60ddc6cb39fa1 (diff)
Fix some tests
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/controller/TranslationControllerTest.php4
-rw-r--r--tests/unit/lib/Utility/UtilsTest.php1
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}/';