Skip to content

Commit 5766beb

Browse files
Merge branch '5.0' into 5.1
* 5.0: fix merge Require PHPUnit 9.3 on PHP 8 [Cache] fix catching auth errors Fix CS [FrameworkBundle] set default session.handler alias if handler_id is not provided Fix CS Readability update Fix checks for phpunit releases on Composer 2 (resolves #37601) [Serializer] Support multiple levels of discriminator mapping Use hexadecimal numerals instead of hexadecimals in strings to represent error codes. [SCA] Minor fixes on tests [WebProfilerBundle] modified url generation to use absolute urls [Mailer] Fix reply-to functionality in the SendgridApiTransport [Mime] Fix compat with HTTP requests ticket_36879 - Fix mandrill raw http request setting from email/name
2 parents 2fbaad9 + c9a2676 commit 5766beb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/Profiler/FileProfilerStorageTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,9 @@ public function testStoreTime()
228228

229229
$records = $this->storage->find('', '', 3, 'GET', $start, time() + 3 * 60);
230230
$this->assertCount(3, $records, '->find() returns all previously added records');
231-
$this->assertEquals($records[0]['token'], 'time_2', '->find() returns records ordered by time in descendant order');
232-
$this->assertEquals($records[1]['token'], 'time_1', '->find() returns records ordered by time in descendant order');
233-
$this->assertEquals($records[2]['token'], 'time_0', '->find() returns records ordered by time in descendant order');
231+
$this->assertEquals('time_2', $records[0]['token'], '->find() returns records ordered by time in descendant order');
232+
$this->assertEquals('time_1', $records[1]['token'], '->find() returns records ordered by time in descendant order');
233+
$this->assertEquals('time_0', $records[2]['token'], '->find() returns records ordered by time in descendant order');
234234

235235
$records = $this->storage->find('', '', 3, 'GET', $start, time() + 2 * 60);
236236
$this->assertCount(2, $records, '->find() should return only first two of the previously added records');

0 commit comments

Comments
 (0)