Skip to content
This repository was archived by the owner on Dec 9, 2023. It is now read-only.

Commit 47aa906

Browse files
Merge branch '3.4' into 4.4
* 3.4: [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) [SCA] Minor fixes on tests
2 parents bd613a9 + 7ce874f commit 47aa906

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Tests/Exception/FlattenExceptionTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,9 @@ public function testPreviousError()
174174

175175
$flattened = FlattenException::create($exception)->getPrevious();
176176

177-
$this->assertEquals($flattened->getMessage(), 'Oh noes!', 'The message is copied from the original exception.');
178-
$this->assertEquals($flattened->getCode(), 42, 'The code is copied from the original exception.');
179-
$this->assertEquals($flattened->getClass(), 'ParseError', 'The class is set to the class of the original exception');
177+
$this->assertEquals('Oh noes!', $flattened->getMessage(), 'The message is copied from the original exception.');
178+
$this->assertEquals(42, $flattened->getCode(), 'The code is copied from the original exception.');
179+
$this->assertEquals('ParseError', $flattened->getClass(), 'The class is set to the class of the original exception');
180180
}
181181

182182
/**
@@ -300,7 +300,7 @@ function () {},
300300
$this->assertSame(['float', INF], $array[$i++]);
301301

302302
// assertEquals() does not like NAN values.
303-
$this->assertEquals($array[$i][0], 'float');
303+
$this->assertEquals('float', $array[$i][0]);
304304
$this->assertNan($array[$i][1]);
305305
}
306306

0 commit comments

Comments
 (0)