From 9ac51d3e3bf982f7326176f33e46d15516cc3359 Mon Sep 17 00:00:00 2001 From: Joe Dixon Date: Wed, 8 May 2024 09:43:26 +0100 Subject: [PATCH] wip --- tests/Feature/Protocols/Pusher/Reverb/ChannelControllerTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Feature/Protocols/Pusher/Reverb/ChannelControllerTest.php b/tests/Feature/Protocols/Pusher/Reverb/ChannelControllerTest.php index ea810525..4ff8f6c6 100644 --- a/tests/Feature/Protocols/Pusher/Reverb/ChannelControllerTest.php +++ b/tests/Feature/Protocols/Pusher/Reverb/ChannelControllerTest.php @@ -69,6 +69,7 @@ }); it('can gather data for a single channel', function () { + $start = microtime(true); $this->usingRedis(); subscribe('test-channel-one'); @@ -76,6 +77,7 @@ $response = await($this->signedRequest('channels/test-channel-one?info=user_count,subscription_count,cache')); + dump("Time: %f\n", microtime(true) - $start); expect($response->getStatusCode())->toBe(200); expect($response->getBody()->getContents())->toBe('{"occupied":true,"subscription_count":2}'); });