mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 12:33:26 +00:00
Fix unit test names, property and function visibility
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
class API_OAuth2_ApplicationTest extends PhraseanetPHPUnitAbstract
|
||||
class API_OAuth2_ApplicationTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
* @var API_OAuth2_Application
|
||||
@@ -142,7 +142,7 @@ class API_OAuth2_ApplicationTest extends PhraseanetPHPUnitAbstract
|
||||
$this->assertInstanceOf('DateTime', $this->object->get_last_modified());
|
||||
}
|
||||
|
||||
protected function assertmd5($md5)
|
||||
private function assertmd5($md5)
|
||||
{
|
||||
$this->assertTrue((count(preg_match('/[a-z0-9]{32}/', $md5)) === 1));
|
||||
}
|
||||
|
Reference in New Issue
Block a user