Skip to content

Commit a805939

Browse files
author
ace-n
committed
Fix test
1 parent b5f7d48 commit a805939

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

functions/tips_scopes/test/DeployTest.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,8 @@ public function testFunction() : void
4848
$this->assertEquals('200', $resp->getStatusCode());
4949

5050
// 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);
51+
$output = trim((string) $resp->getBody());
52+
$this->assertContains('Per instance: 120', $output);
53+
$this->assertContains('Per function: 15', $output);
5554
}
5655
}

0 commit comments

Comments
 (0)