Skip to content

Commit

Permalink
minor #24167 [Debug] fix test assertion (xabbuh)
Browse files Browse the repository at this point in the history
This PR was merged into the 3.4 branch.

Discussion
----------

[Debug] fix test assertion

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Fixes tests for #23816 after the changes made in #24149.

Commits
-------

75a26bb [Debug] fix test assertion
  • Loading branch information
xabbuh committed Sep 12, 2017
2 parents 7ab8efb + 75a26bb commit eefded7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/Debug/Tests/DebugClassLoaderTest.php
Expand Up @@ -204,7 +204,7 @@ class_exists('Test\\'.__NAMESPACE__.'\\'.$class, true);

$xError = array(
'type' => E_USER_DEPRECATED,
'message' => 'The "Test\Symfony\Component\Debug\Tests\\'.$class.'" class '.$type.' "Symfony\Component\Debug\Tests\Fixtures\\'.$super.'" that is deprecated but this is a test deprecation notice',
'message' => 'The "Test\Symfony\Component\Debug\Tests\\'.$class.'" class '.$type.' "Symfony\Component\Debug\Tests\Fixtures\\'.$super.'" that is deprecated but this is a test deprecation notice.',
);

$this->assertSame($xError, $lastError);
Expand Down

0 comments on commit eefded7

Please sign in to comment.