File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Form/Tests/Extension/Core/Type Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -380,7 +380,7 @@ public function testSubmitSingleExpandedRequiredInvalidChoice()
380
380
381
381
$ form ->submit ('foobar ' );
382
382
383
- $ this ->assertSame ( null , $ form ->getData ());
383
+ $ this ->assertNull ( $ form ->getData ());
384
384
$ this ->assertSame ('foobar ' , $ form ->getViewData ());
385
385
$ this ->assertEmpty ($ form ->getExtraData ());
386
386
$ this ->assertFalse ($ form ->isSynchronized ());
@@ -445,7 +445,7 @@ public function testSubmitSingleExpandedNonRequiredInvalidChoice()
445
445
446
446
$ form ->submit ('foobar ' );
447
447
448
- $ this ->assertSame ( null , $ form ->getData ());
448
+ $ this ->assertNull ( $ form ->getData ());
449
449
$ this ->assertSame ('foobar ' , $ form ->getViewData ());
450
450
$ this ->assertEmpty ($ form ->getExtraData ());
451
451
$ this ->assertFalse ($ form ->isSynchronized ());
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ public function testLoadWithNamespacePrefix()
68
68
$ this ->assertSame ('MyBundle:Blog:show ' , $ route ->getDefault ('_controller ' ));
69
69
$ this ->assertSame ('\w+ ' , $ route ->getRequirement ('slug ' ));
70
70
$ this ->assertSame ('en|fr|de ' , $ route ->getRequirement ('_locale ' ));
71
- $ this ->assertSame ( null , $ route ->getDefault ('slug ' ));
71
+ $ this ->assertNull ( $ route ->getDefault ('slug ' ));
72
72
$ this ->assertSame ('RouteCompiler ' , $ route ->getOption ('compiler_class ' ));
73
73
}
74
74
You can’t perform that action at this time.
0 commit comments