From a3968327837c3fe04681b5f178b3c2764322f901 Mon Sep 17 00:00:00 2001 From: GitHub Date: Sun, 29 Sep 2024 21:01:51 +0000 Subject: [PATCH] [viera-connector-homekit-connector-bridge] Prepared viera connector to homekit connector bridge (#306) --- tests/cases/unit/Commands/HttpServerCommandTest.php | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) 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',