Skip to content

Commit a11a962

Browse files
author
Curtis Farnham
committed
Updating unit tests to reflect optional "type" and "properties" attributes
1 parent 1778102 commit a11a962

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/JsonValidatorTest.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,6 @@ public function testInvalidSchema()
6868
$v = new Validator(TEST_DIR . '/mock/empty.json');
6969
}
7070

71-
/**
72-
* @expectedException Json\SchemaException
73-
*/
7471
public function testMissingProperties()
7572
{
7673
$v = $this->getValidator('missing-properties.json');
@@ -82,9 +79,6 @@ public function testMissingProperties()
8279
$v->validate($o);
8380
}
8481

85-
/**
86-
* @expectedException Json\ValidationException
87-
*/
8882
public function testMissingType()
8983
{
9084
$v = new Validator(TEST_DIR . '/mock/missing-type.json');

0 commit comments

Comments
 (0)