diff --git a/tests/cases/unit/Commands/HttpServerCommandTest.php b/tests/cases/unit/Commands/HttpServerCommandTest.php index 1778535..8ac5dda 100644 --- a/tests/cases/unit/Commands/HttpServerCommandTest.php +++ b/tests/cases/unit/Commands/HttpServerCommandTest.php @@ -39,23 +39,13 @@ public function testExecute(): void $valid = [ [ 'Starting HTTP Server', - ], - [ - 'Listening on "http://127.0.0.1:8001"', - ], - ]; - - return in_array($args, $valid, true); - }), - self::callback(static function (...$args): bool { - $valid = [ - [ [ 'source' => MetadataTypes\Sources\Plugin::WEB_SERVER->value, 'type' => 'server-command', ], ], [ + 'Listening on "http://127.0.0.1:8001"', [ 'source' => MetadataTypes\Sources\Plugin::WEB_SERVER->value, 'type' => 'factory',