forked from wallabag/wallabag
typos & cs
This commit is contained in:
@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -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());
|
||||||
|
|||||||
Reference in New Issue
Block a user