Skip to content

Commit

Permalink
Fix tests for PHP 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
timvandijck committed Dec 2, 2024
1 parent 1293650 commit e2ecbc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/RayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ function getValueOfLastSentContent(string $contentKey)
$firstFrame = $frames[0];

expect($firstFrame['class'])->toEqual('P\Tests\RayTest');
expect($firstFrame['method'])->toEqual('{closure}');
expect($firstFrame['method'])->toStartWith('{closure');
});

it('can send backtrace frames starting from a specific frame', function () {
Expand All @@ -269,7 +269,7 @@ function getValueOfLastSentContent(string $contentKey)
$firstFrame = $frames[0];

expect($firstFrame['class'])->toEqual('P\Tests\RayTest');
expect($firstFrame['method'])->toEqual('{closure}');
expect($firstFrame['method'])->toStartWith('{closure');
});

it('can send the caller to ray', function () {
Expand Down

0 comments on commit e2ecbc1

Please sign in to comment.