1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-22 17:16:18 +02:00
Files
php-monolog/tests/Monolog
Jonathan Campbell 4e03d25f6d Fix IntrospectionProcessor tests that were not validating the code under test (#1896)
Three tests in IntrospectionProcessorTest (testLevelTooLow, testLevelEqual, testLevelHigher) aren't actually testing anything. Because `$expected = $input` is a reference, the changes made to `$expected['extra']` are made to $input and carried forward to $actual. You can demonstrate this by adding a `return $record` at the immediate start of `InstrospectionProcessor::__invoke` -- the tests still pass despite bypassing all the code.
2024-06-28 10:41:10 +02:00
..
2024-04-12 17:30:46 +02:00
2024-04-12 17:26:33 +02:00
2024-04-12 17:26:33 +02:00
2024-04-12 17:26:33 +02:00
2024-04-12 17:26:33 +02:00
2024-04-12 17:26:33 +02:00
2024-04-12 17:26:33 +02:00