From b8f5567ac3654a796c8960a28a6babfc3d7c8509 Mon Sep 17 00:00:00 2001 From: Luca Tumedei Date: Sat, 21 Oct 2023 10:41:15 +0200 Subject: [PATCH] refactor(PhpBuiltInServer) remove debug entries --- src/ManagedProcess/PhpBuiltInServer.php | 2 -- tests/Issue/BlogArchiveCest.php | 6 ++++++ 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 tests/Issue/BlogArchiveCest.php diff --git a/src/ManagedProcess/PhpBuiltInServer.php b/src/ManagedProcess/PhpBuiltInServer.php index 4cd7dca4b..4e555cbda 100644 --- a/src/ManagedProcess/PhpBuiltInServer.php +++ b/src/ManagedProcess/PhpBuiltInServer.php @@ -83,11 +83,9 @@ public function getPort(): int private function confirmServerRunningOnPort(Process $process): bool { - codecept_debug('confirming ...'); if ($process->getErrorOutput() === '') { $process->waitUntil( static function (string $type, string $output): bool { - codecept_debug(sprintf('type: %s, output: %s', $type, $output)); return $type === Process::ERR && !empty($output); } ); diff --git a/tests/Issue/BlogArchiveCest.php b/tests/Issue/BlogArchiveCest.php new file mode 100644 index 000000000..b723c08a5 --- /dev/null +++ b/tests/Issue/BlogArchiveCest.php @@ -0,0 +1,6 @@ +