X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FApiBundle%2FTests%2FController%2FWallabagRestControllerTest.php;h=86c8de1ed0eb8d5d5352d5289af535b972b15a45;hb=4346a86068781f4acdeb574d7e2af08b77b58ea7;hp=b36ae7c68083fb259b06354f93b490074d0f8b76;hpb=399bd777d7900f532bfcfa367da88767739391bc;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/ApiBundle/Tests/Controller/WallabagRestControllerTest.php b/src/Wallabag/ApiBundle/Tests/Controller/WallabagRestControllerTest.php index b36ae7c6..86c8de1e 100644 --- a/src/Wallabag/ApiBundle/Tests/Controller/WallabagRestControllerTest.php +++ b/src/Wallabag/ApiBundle/Tests/Controller/WallabagRestControllerTest.php @@ -9,7 +9,7 @@ class WallabagRestControllerTest extends WebTestCase protected static $salt; /** - * Grab the salt once and store it to be available for all tests + * Grab the salt once and store it to be available for all tests. */ public static function setUpBeforeClass() { @@ -24,7 +24,7 @@ class WallabagRestControllerTest extends WebTestCase } /** - * Generate HTTP headers for authenticate user on API + * Generate HTTP headers for authenticate user on API. * * @param string $username * @param string $password @@ -327,7 +327,7 @@ class WallabagRestControllerTest extends WebTestCase $content = json_decode($client->getResponse()->getContent(), true); $this->assertArrayHasKey('tags', $content); - $this->assertEquals($nbTags+3, count($content['tags'])); + $this->assertEquals($nbTags + 3, count($content['tags'])); $entryDB = $client->getContainer() ->get('doctrine.orm.entity_manager') @@ -369,7 +369,7 @@ class WallabagRestControllerTest extends WebTestCase $content = json_decode($client->getResponse()->getContent(), true); $this->assertArrayHasKey('tags', $content); - $this->assertEquals($nbTags-1, count($content['tags'])); + $this->assertEquals($nbTags - 1, count($content['tags'])); } public function testGetUserTags()