Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fc15c70

Browse files
committed
[Debug] fixed unit tests
1 parent f3e5994 commit fc15c70

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/Symfony/Component/Debug/Tests/ErrorHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public function provideFatalErrorHandlersData()
155155
'type' => 1,
156156
'line' => 12,
157157
'file' => 'foo.php',
158-
'message' => 'Class "WhizBangFactory" not found',
158+
'message' => 'Class \'WhizBangFactory\' not found',
159159
),
160160
'Symfony\Component\Debug\Exception\ClassNotFoundException',
161161
'Attempted to load class "WhizBangFactory" from the global namespace in foo.php line 12. Did you forget a use statement for this class?',

src/Symfony/Component/Debug/Tests/FatalErrorHandler/ClassNotFoundFatalErrorHandlerTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function provideClassNotFoundData()
4040
'type' => 1,
4141
'line' => 12,
4242
'file' => 'foo.php',
43-
'message' => 'Class "WhizBangFactory" not found',
43+
'message' => 'Class \'WhizBangFactory\' not found',
4444
),
4545
'Attempted to load class "WhizBangFactory" from the global namespace in foo.php line 12. Did you forget a use statement for this class?',
4646
),
@@ -49,7 +49,7 @@ public function provideClassNotFoundData()
4949
'type' => 1,
5050
'line' => 12,
5151
'file' => 'foo.php',
52-
'message' => 'Class "Foo\\Bar\\WhizBangFactory" not found',
52+
'message' => 'Class \'Foo\\Bar\\WhizBangFactory\' not found',
5353
),
5454
'Attempted to load class "WhizBangFactory" from namespace "Foo\\Bar" in foo.php line 12. Do you need to "use" it from another namespace?',
5555
),
@@ -58,7 +58,7 @@ public function provideClassNotFoundData()
5858
'type' => 1,
5959
'line' => 12,
6060
'file' => 'foo.php',
61-
'message' => 'Class "UndefinedFunctionException" not found',
61+
'message' => 'Class \'UndefinedFunctionException\' not found',
6262
),
6363
'Attempted to load class "UndefinedFunctionException" from the global namespace in foo.php line 12. Did you forget a use statement for this class? Perhaps you need to add a use statement for one of the following: Symfony\Component\Debug\Exception\UndefinedFunctionException.',
6464
),
@@ -67,7 +67,7 @@ public function provideClassNotFoundData()
6767
'type' => 1,
6868
'line' => 12,
6969
'file' => 'foo.php',
70-
'message' => 'Class "PEARClass" not found',
70+
'message' => 'Class \'PEARClass\' not found',
7171
),
7272
'Attempted to load class "PEARClass" from the global namespace in foo.php line 12. Did you forget a use statement for this class? Perhaps you need to add a use statement for one of the following: Symfony_Component_Debug_Tests_Fixtures_PEARClass.',
7373
),
@@ -76,7 +76,7 @@ public function provideClassNotFoundData()
7676
'type' => 1,
7777
'line' => 12,
7878
'file' => 'foo.php',
79-
'message' => 'Class "Foo\\Bar\\UndefinedFunctionException" not found',
79+
'message' => 'Class \'Foo\\Bar\\UndefinedFunctionException\' not found',
8080
),
8181
'Attempted to load class "UndefinedFunctionException" from namespace "Foo\Bar" in foo.php line 12. Do you need to "use" it from another namespace? Perhaps you need to add a use statement for one of the following: Symfony\Component\Debug\Exception\UndefinedFunctionException.',
8282
),

0 commit comments

Comments
 (0)