You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$post = newBlogPost('This is a nice title.', $author = newAuthor('Foo Bar'), new \DateTime('2011-07-30 00:00', new \DateTimeZone('UTC')), newPublisher('Bar Foo'));
978
+
$post = newBlogPost('This is a nice title.', newAuthor('Foo Bar'), new \DateTime('2011-07-30 00:00', new \DateTimeZone('UTC')), newPublisher('Bar Foo'));
979
979
980
980
$this->setField($post, 'author', null);
981
981
$this->setField($post, 'publisher', null);
@@ -1309,11 +1309,7 @@ public function testFormErrorsWithNonFormComponents($type)
1309
1309
$context = SerializationContext::create();
1310
1310
$context->setInitialType($type);
1311
1311
1312
-
try {
1313
-
$this->serialize($form, $context);
1314
-
} catch (\Throwable$e) {
1315
-
self::assertTrue(false, 'Serialization should not throw an exception');
1316
-
}
1312
+
$this->serialize($form, $context);
1317
1313
}
1318
1314
1319
1315
publicstaticfunctioninitialFormTypeProvider()
@@ -1998,9 +1994,7 @@ public function testThrowingExceptionWhenDeserializingUnionDocBlockTypes()
0 commit comments