1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

typos & cs

This commit is contained in:
Thomas Citharel 2016-03-08 09:22:25 +01:00
parent 9761bfa18e
commit 6f8310b445
2 changed files with 7 additions and 5 deletions

View file

@ -341,7 +341,9 @@ class WallabagRestController extends FOSRestController
return $this->renderJsonResponse($json); return $this->renderJsonResponse($json);
} }
/** /**
* Retrive version. * Retrieve version number.
*
* @ApiDoc()
* *
* @return Response * @return Response
*/ */

View file

@ -337,8 +337,8 @@ class WallabagRestControllerTest extends WallabagApiTestCase
$this->assertCount(0, $entries); $this->assertCount(0, $entries);
} }
public function testGetVersion(){ public function testGetVersion()
{
$this->client->request('GET', '/api/version'); $this->client->request('GET', '/api/version');
$this->assertEquals(200, $this->client->getResponse()->getStatusCode()); $this->assertEquals(200, $this->client->getResponse()->getStatusCode());