We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ 66-74 (lines=9) @@ | ||
63 | $this->assertEquals('Toto', $type->getWrappedType()); |
|
64 | } |
|
65 | ||
66 | public function testResolveWithNonNullListOfWrapper() |
|
67 | { |
|
68 | /** @var \GraphQL\Type\Definition\WrappingType $type */ |
|
69 | $type = $this->resolver->resolve('[Toto]!'); |
|
70 | ||
71 | $this->assertInstanceOf('GraphQL\Type\Definition\NonNull', $type); |
|
72 | $this->assertInstanceOf('GraphQL\Type\Definition\ListOfType', $type->getWrappedType()); |
|
73 | $this->assertEquals('Toto', $type->getWrappedType()->getWrappedType()); |
|
74 | } |
|
75 | ||
76 | public function testResolveWitListOfNonNullWrapper() |
|
77 | { |
|
@@ 76-84 (lines=9) @@ | ||
73 | $this->assertEquals('Toto', $type->getWrappedType()->getWrappedType()); |
|
74 | } |
|
75 | ||
76 | public function testResolveWitListOfNonNullWrapper() |
|
77 | { |
|
78 | /** @var \GraphQL\Type\Definition\WrappingType $type */ |
|
79 | $type = $this->resolver->resolve('[Toto!]'); |
|
80 | ||
81 | $this->assertInstanceOf('GraphQL\Type\Definition\ListOfType', $type); |
|
82 | $this->assertInstanceOf('GraphQL\Type\Definition\NonNull', $type->getWrappedType()); |
|
83 | $this->assertEquals('Toto', $type->getWrappedType()->getWrappedType()); |
|
84 | } |
|
85 | ||
86 | public function testResolveWitNonNullListOfNonNullWrapper() |
|
87 | { |
|
@@ 97-105 (lines=9) @@ | ||
94 | $this->assertEquals('Toto', $type->getWrappedType()->getWrappedType()->getWrappedType()); |
|
95 | } |
|
96 | ||
97 | public function testResolveWitListOfListOfWrapper() |
|
98 | { |
|
99 | /** @var \GraphQL\Type\Definition\WrappingType $type */ |
|
100 | $type = $this->resolver->resolve('[[Toto]]'); |
|
101 | ||
102 | $this->assertInstanceOf('GraphQL\Type\Definition\ListOfType', $type); |
|
103 | $this->assertInstanceOf('GraphQL\Type\Definition\ListOfType', $type->getWrappedType()); |
|
104 | $this->assertEquals('Toto', $type->getWrappedType()->getWrappedType()); |
|
105 | } |
|
106 | } |
|
107 |