@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Tests; |
| 4 | 4 | |
| 5 | 5 | use Silex\WebTestCase; |
| 6 | -use JsonSchema\Validator; |
|
| 7 | 6 | |
| 8 | 7 | class WorkspaceTest extends WebTestCase |
| 9 | 8 | { |
@@ -33,6 +33,9 @@ |
||
| 33 | 33 | return $client; |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | + /** |
|
| 37 | + * @param string $schema |
|
| 38 | + */ |
|
| 36 | 39 | public function askValidation($data, $schema) |
| 37 | 40 | { |
| 38 | 41 | $validator = new \JsonSchema\Validator; |
@@ -2,11 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Tests; |
| 4 | 4 | |
| 5 | -use JsonSchema\Constraints\Constraint; |
|
| 6 | -use JsonSchema\SchemaStorage; |
|
| 7 | -use JsonSchema\Uri\UriResolver; |
|
| 8 | 5 | use JsonSchema\Validator; |
| 9 | -use Prophecy\Argument; |
|
| 10 | 6 | |
| 11 | 7 | trait AbstractAppTest |
| 12 | 8 | { |