update drupal
This commit is contained in:
@@ -58,7 +58,7 @@ class DenormalizeTest extends NormalizerTestBase {
|
||||
$this->fail('Exception should be thrown when type is invalid.');
|
||||
}
|
||||
catch (UnexpectedValueException $e) {
|
||||
$this->pass('Exception thrown when type is invalid.');
|
||||
// Expected exception; just continue testing.
|
||||
}
|
||||
|
||||
// No type.
|
||||
@@ -70,7 +70,7 @@ class DenormalizeTest extends NormalizerTestBase {
|
||||
$this->fail('Exception should be thrown when no type is provided.');
|
||||
}
|
||||
catch (UnexpectedValueException $e) {
|
||||
$this->pass('Exception thrown when no type is provided.');
|
||||
// Expected exception; just continue testing.
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user