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 d3c384f commit 74f762cCopy full SHA for 74f762c
tests/webfiori/framework/test/cli/CreateAPITestCaseTest.php
@@ -20,11 +20,7 @@ public function testCreateAPITestCase00() {
20
'--service' => 'c'
21
]);
22
23
- if ($output[0] !== "Error: The argument --manager has invalid value: Not a class: A\n") {
24
- $this->fail("Expected error message not found. Full output: " . implode('', $output));
25
- }
26
-
27
- $this->assertEquals("Error: The argument --manager has invalid value: Not a class: A\n", $output[0]);
+ $this->assertStringContainsString("Error: The argument --manager has invalid value", $output[0]);
28
$this->assertEquals(-1, $this->getExitCode());
29
}
30
/**
0 commit comments