Skip to content

Commit 6e8d15e

Browse files
authored
fix: adds debugging for flex logging test (GoogleCloudPlatform#1161)
1 parent a279275 commit 6e8d15e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

appengine/flexible/logging/test/LocalTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,15 @@ public function createApplication()
3333
{
3434
$app = require __DIR__ . '/../app.php';
3535
$app['project_id'] = getenv('GOOGLE_PROJECT_ID');
36+
$app['debug'] = true;
3637
return $app;
3738
}
3839

3940
public function testSomeLogs()
4041
{
4142
$this->client->request('GET', '/');
4243
$response = $this->client->getResponse();
43-
$this->assertTrue($response->isOk());
44+
$this->assertEquals(200, $response->getStatusCode());
4445
$text = $response->getContent();
4546
$this->assertContains("Logs:", $text);
4647
}

0 commit comments

Comments
 (0)