diff --git a/README.md b/README.md index 2cd9983..c5ee7cf 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,8 @@ class VersionTest extends LocalWebTestCase public function testVersion() { $this->client->get('/version'); - $this->assertEquals(200, $this->client->response->status()); - $this->assertEquals($this->app->config('version'), $this->client->response->body()); + $this->assertEquals(200, $this->client->response->getStatusCode()); + $this->assertEquals($this->app->config('version'), $this->client->response->getBody()); } } ```