forked from wallabag/wallabag
CS
This commit is contained in:
@ -940,7 +940,7 @@ class EntryRestControllerTest extends WallabagApiTestCase
|
||||
|
||||
$content = json_decode($this->client->getResponse()->getContent(), true);
|
||||
|
||||
$this->assertSame(true, $content['exists']);
|
||||
$this->assertTrue($content['exists']);
|
||||
}
|
||||
|
||||
public function testGetEntriesExistsWithManyUrls()
|
||||
|
||||
@ -54,11 +54,11 @@ abstract class WallabagApiTestCase extends WebTestCase
|
||||
* Used because on heavy testing we don't want to re-create the database on each run.
|
||||
* Which means "admin" user won't have id 1 all the time.
|
||||
*
|
||||
* @param string $username
|
||||
* @param string $username
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getUserId($username = 'admin')
|
||||
protected function getUserId($username = 'admin')
|
||||
{
|
||||
return $this->client
|
||||
->getContainer()
|
||||
|
||||
Reference in New Issue
Block a user