diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2018-11-26 22:46:44 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2018-11-28 22:04:55 +0100 |
commit | b13b2ef052f3c21f17ab2a4f3f410049e3c79c83 (patch) | |
tree | 2f8084c1e98ecfc16698c66cd3846c543d391aeb /tests/Wallabag/ApiBundle/WallabagApiTestCase.php | |
parent | 8f2038e5b15c2d7342ed18381531e5eb95e86d46 (diff) | |
download | wallabag-b13b2ef052f3c21f17ab2a4f3f410049e3c79c83.tar.gz wallabag-b13b2ef052f3c21f17ab2a4f3f410049e3c79c83.tar.zst wallabag-b13b2ef052f3c21f17ab2a4f3f410049e3c79c83.zip |
CS
Diffstat (limited to 'tests/Wallabag/ApiBundle/WallabagApiTestCase.php')
-rw-r--r-- | tests/Wallabag/ApiBundle/WallabagApiTestCase.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Wallabag/ApiBundle/WallabagApiTestCase.php b/tests/Wallabag/ApiBundle/WallabagApiTestCase.php index a0f2f889..fd2e113e 100644 --- a/tests/Wallabag/ApiBundle/WallabagApiTestCase.php +++ b/tests/Wallabag/ApiBundle/WallabagApiTestCase.php | |||
@@ -54,11 +54,11 @@ abstract class WallabagApiTestCase extends WebTestCase | |||
54 | * Used because on heavy testing we don't want to re-create the database on each run. | 54 | * Used because on heavy testing we don't want to re-create the database on each run. |
55 | * Which means "admin" user won't have id 1 all the time. | 55 | * Which means "admin" user won't have id 1 all the time. |
56 | * | 56 | * |
57 | * @param string $username | 57 | * @param string $username |
58 | * | 58 | * |
59 | * @return int | 59 | * @return int |
60 | */ | 60 | */ |
61 | public function getUserId($username = 'admin') | 61 | protected function getUserId($username = 'admin') |
62 | { | 62 | { |
63 | return $this->client | 63 | return $this->client |
64 | ->getContainer() | 64 | ->getContainer() |