Fix some tests

This commit is contained in:
brantje 2016-12-21 23:04:38 +01:00
parent ca0e527470
commit af70943faa
No known key found for this signature in database
GPG key ID: 5FF1D117F918687F
2 changed files with 2 additions and 3 deletions

View file

@ -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);
}
}

View file

@ -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}/';