mirror of
https://github.com/nextcloud/passman.git
synced 2024-12-27 01:52:56 +08:00
Fix some tests
This commit is contained in:
parent
ca0e527470
commit
af70943faa
2 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
|
@ -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}/';
|
||||
|
|
Loading…
Reference in a new issue