diff --git a/tests/RayTest.php b/tests/RayTest.php index 168bb35b..baf936dc 100644 --- a/tests/RayTest.php +++ b/tests/RayTest.php @@ -367,12 +367,12 @@ function getValueOfLastSentContent(string $contentKey) assertMatchesOsSafeSnapshot($this->client->sentPayloads()); }); -it('can sanitize the name of a new screen', function() { - $this->ray->newScreen('__pest_evaluable_this_is_the_test_name'); +it('can sanitize the name of a new screen', function () { + $this->ray->newScreen('__pest_evaluable_this_is_the_test_name'); - $usedName = $this->client->sentPayloads()[0]['payloads'][0]['content']['name']; + $usedName = $this->client->sentPayloads()[0]['payloads'][0]['content']['name']; - expect($usedName)->toBe('this is the test name'); + expect($usedName)->toBe('this is the test name'); });