Skip to content

Commit 6c3e622

Browse files
committed
Update example in readme for Slim 3
1 parent bb75f9b commit 6c3e622

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ class VersionTest extends LocalWebTestCase
1515
public function testVersion()
1616
{
1717
$this->client->get('/version');
18-
$this->assertEquals(200, $this->client->response->status());
19-
$this->assertEquals($this->app->config('version'), $this->client->response->body());
18+
$this->assertEquals(200, $this->client->response->getStatusCode());
19+
$this->assertEquals($this->app->config('version'), $this->client->response->getBody());
2020
}
2121
}
2222
```

0 commit comments

Comments
 (0)