@@ -8,11 +8,11 @@ |
||
8 | 8 | |
9 | 9 | class ConfigurationTest extends TestCase |
10 | 10 | { |
11 | - public function testCanByConstructed () |
|
12 | - { |
|
13 | - $configuration = new Configuration(); |
|
14 | - $treeBuilder = $configuration->getConfigTreeBuilder(); |
|
11 | + public function testCanByConstructed () |
|
12 | + { |
|
13 | + $configuration = new Configuration(); |
|
14 | + $treeBuilder = $configuration->getConfigTreeBuilder(); |
|
15 | 15 | |
16 | - $this->assertInstanceOf(TreeBuilder::class, $treeBuilder); |
|
17 | - } |
|
16 | + $this->assertInstanceOf(TreeBuilder::class, $treeBuilder); |
|
17 | + } |
|
18 | 18 | } |
@@ -8,7 +8,7 @@ |
||
8 | 8 | |
9 | 9 | class ConfigurationTest extends TestCase |
10 | 10 | { |
11 | - public function testCanByConstructed () |
|
11 | + public function testCanByConstructed() |
|
12 | 12 | { |
13 | 13 | $configuration = new Configuration(); |
14 | 14 | $treeBuilder = $configuration->getConfigTreeBuilder(); |
@@ -7,14 +7,14 @@ |
||
7 | 7 | |
8 | 8 | class ApiContextFactoryTest extends TestCase |
9 | 9 | { |
10 | - public function testCanBrCreated () |
|
10 | + public function testCanBrCreated() |
|
11 | 11 | { |
12 | 12 | $accessManagermMock = $this->createMock(AccessManager::class); |
13 | 13 | $contextFactory = new ApiContextFactory($accessManagermMock); |
14 | 14 | $this->assertInstanceOf(ApiContextFactory::class, $contextFactory); |
15 | 15 | } |
16 | 16 | |
17 | - public function testCreateSerializationContext () |
|
17 | + public function testCreateSerializationContext() |
|
18 | 18 | { |
19 | 19 | $accessManagermMock = $this->createMock(AccessManager::class); |
20 | 20 | $contextFactory = new ApiContextFactory($accessManagermMock); |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | $this->assertInstanceOf(MyModel::class, $response->get('entity')->getValue()); |
50 | 50 | } |
51 | 51 | |
52 | - public function testFailureExecuteWithoutEntity () |
|
52 | + public function testFailureExecuteWithoutEntity() |
|
53 | 53 | { |
54 | 54 | $repositoryMock = $this->createMock(TestRepository::class); |
55 | 55 | $repositoryMock->expects($this->at(0))->method('find')->willReturn(null); |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | $registry->expects($this->any())->method('getRepository')->willReturn($repositoryMock); |
58 | 58 | $step = new FetchEntityByIdStep($registry); |
59 | 59 | $step->setArtifacts(new ArtifactCollection([ |
60 | - new Artifact('reflection', new \ReflectionClass(MyModel::class)) |
|
60 | + new Artifact('reflection', new \ReflectionClass(MyModel::class)) |
|
61 | 61 | ])); |
62 | 62 | |
63 | 63 | $this->expectException(NotFoundHttpException::class); |
@@ -34,7 +34,7 @@ |
||
34 | 34 | $this->expectException(BadRequestHttpException::class); |
35 | 35 | $request->attributes->set('filter', base64_encode('[{"type": "eq", "value": "test"}]')); |
36 | 36 | $this->expectException(BadRequestHttpException::class); |
37 | - new Validator($request); |
|
37 | + new Validator($request); |
|
38 | 38 | } |
39 | 39 | |
40 | 40 | } |
41 | 41 | \ No newline at end of file |
@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | class FilterValidatorTest extends TestCase |
11 | 11 | { |
12 | 12 | |
13 | - public function testCanBeConstructed () |
|
13 | + public function testCanBeConstructed() |
|
14 | 14 | { |
15 | 15 | $request = new Request(); |
16 | 16 | $request->attributes->set('filter', base64_encode('[{"type": "eq", "property": "title", "value": "test"}]')); |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | $this->assertInstanceOf(Validator::class, $filterValidator); |
20 | 20 | } |
21 | 21 | |
22 | - public function testFilterRequestWithBadType () |
|
22 | + public function testFilterRequestWithBadType() |
|
23 | 23 | { |
24 | 24 | $this->expectException(BadRequestHttpException::class); |
25 | 25 | $request = new Request(); |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | |
29 | 29 | } |
30 | 30 | |
31 | - public function testFilterRequestWithoutRequiredParameter () |
|
31 | + public function testFilterRequestWithoutRequiredParameter() |
|
32 | 32 | { |
33 | 33 | $request = new Request(); |
34 | 34 | $this->expectException(BadRequestHttpException::class); |