We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| @@ 75-82 (lines=8) @@ | ||
| 72 | $this->resolver->resolve('[Tata'); |
|
| 73 | } |
|
| 74 | ||
| 75 | public function testResolveWithListOfWrapper() |
|
| 76 | { |
|
| 77 | /** @var \GraphQL\Type\Definition\WrappingType $type */ |
|
| 78 | $type = $this->resolver->resolve('[Tata]'); |
|
| 79 | ||
| 80 | $this->assertInstanceOf(ListOfType::class, $type); |
|
| 81 | $this->assertEquals('Tata', $type->getWrappedType()); |
|
| 82 | } |
|
| 83 | ||
| 84 | public function testResolveWithNonNullWrapper() |
|
| 85 | { |
|
| @@ 84-91 (lines=8) @@ | ||
| 81 | $this->assertEquals('Tata', $type->getWrappedType()); |
|
| 82 | } |
|
| 83 | ||
| 84 | public function testResolveWithNonNullWrapper() |
|
| 85 | { |
|
| 86 | /** @var \GraphQL\Type\Definition\WrappingType $type */ |
|
| 87 | $type = $this->resolver->resolve('Toto!'); |
|
| 88 | ||
| 89 | $this->assertInstanceOf(NonNull::class, $type); |
|
| 90 | $this->assertEquals('Toto', $type->getWrappedType()); |
|
| 91 | } |
|
| 92 | ||
| 93 | public function testResolveWithNonNullListOfWrapper() |
|
| 94 | { |
|