Skip to content

Commit 4d293f9

Browse files
committed
fix unit test and run in processIsolation mode
1 parent d0bd0ee commit 4d293f9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Tests/EventListener/PageListenerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public function testPostUpdate_WithStdClass()
154154
->disableOriginalConstructor()
155155
->getMock();
156156

157-
$em->expects($this->oncde())
157+
$em->expects($this->once())
158158
->method('getUnitOfWork')
159159
->will($this->returnValue($uow));
160160

phpunit.xml.dist

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
convertErrorsToExceptions="true"
77
convertNoticesToExceptions="true"
88
convertWarningsToExceptions="true"
9-
processIsolation="false"
10-
stopOnFailure="false"
11-
syntaxCheck="false"
9+
processIsolation="true"
10+
stopOnFailure="true"
11+
syntaxCheck="true"
1212
bootstrap="./vendor/autoload.php">
1313

1414
<!--

0 commit comments

Comments
 (0)