This commit is contained in:
Jeremy Benoist
2018-11-26 22:46:44 +01:00
parent 8f2038e5b1
commit b13b2ef052
4 changed files with 3 additions and 5 deletions

View File

@ -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()

View File

@ -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()