We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5f7d48 commit a805939Copy full SHA for a805939
functions/tips_scopes/test/DeployTest.php
@@ -48,9 +48,8 @@ public function testFunction() : void
48
$this->assertEquals('200', $resp->getStatusCode());
49
50
// Assert function output.
51
- $expected = 'Hello, World!';
52
- $actual = trim((string) $resp->getBody());
53
- // Failures often lead to a large HTML page in the response body.
54
- $this->assertEquals($expected, $actual);
+ $output = trim((string) $resp->getBody());
+ $this->assertContains('Per instance: 120', $output);
+ $this->assertContains('Per function: 15', $output);
55
}
56
0 commit comments