We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 701dea4 + 891c817 commit 2694489Copy full SHA for 2694489
README.md
@@ -34,11 +34,11 @@ version from the application config. We're asserting that Slim responded with a
34
`200` and that the version matches what we expect.
35
36
```php
37
-class VersionTest extends Slim_Framework_TestCase {
+class VersionTest extends LocalWebTestCase {
38
public function testVersion() {
39
- $this->get('/version');
40
- $this->assertEquals(200, $this->response->status());
41
- $this->assertEquals($this->app->config('version'), $this->response->body());
+ $this->client->get('/version');
+ $this->assertEquals(200, $this->client->response->status());
+ $this->assertEquals($this->app->config('version'), $this->client->response->body());
42
}
43
44
```
0 commit comments