@@ -48,6 +48,9 @@ |
||
48 | 48 | self::loadSqlFile($conn, __DIR__.'/sql/graphqlunittest.sql'); |
49 | 49 | } |
50 | 50 | |
51 | + /** |
|
52 | + * @param string $sqlFile |
|
53 | + */ |
|
51 | 54 | protected static function loadSqlFile(Connection $connection, $sqlFile) |
52 | 55 | { |
53 | 56 | $sql = file_get_contents($sqlFile); |
@@ -19,11 +19,8 @@ |
||
19 | 19 | use TheCodingMachine\TDBM\TDBMService; |
20 | 20 | use TheCodingMachine\TDBM\Utils\DefaultNamingStrategy as TdbmDefaultNamingStrategy; |
21 | 21 | use PHPUnit\Framework\TestCase; |
22 | -use Youshido\GraphQL\Execution\Context\ExecutionContext; |
|
23 | 22 | use Youshido\GraphQL\Execution\Processor; |
24 | 23 | use Youshido\GraphQL\Execution\ResolveInfo; |
25 | -use Youshido\GraphQL\Schema\Schema; |
|
26 | -use Youshido\GraphQL\Type\Scalar\StringType; |
|
27 | 24 | |
28 | 25 | class GraphQLTypeGeneratorTest extends TestCase |
29 | 26 | { |
@@ -2,11 +2,9 @@ |
||
2 | 2 | namespace TheCodingMachine\Tdbm\GraphQL; |
3 | 3 | |
4 | 4 | use Mouf\Composer\ClassNameMapper; |
5 | -use TheCodingMachine\TDBM\Configuration; |
|
6 | 5 | use TheCodingMachine\TDBM\ConfigurationInterface; |
7 | 6 | use TheCodingMachine\TDBM\Utils\AbstractBeanPropertyDescriptor; |
8 | 7 | use TheCodingMachine\TDBM\Utils\BeanDescriptorInterface; |
9 | -use TheCodingMachine\TDBM\Utils\DirectForeignKeyMethodDescriptor; |
|
10 | 8 | use TheCodingMachine\TDBM\Utils\GeneratorListenerInterface; |
11 | 9 | use Symfony\Component\Filesystem\Filesystem; |
12 | 10 | use TheCodingMachine\TDBM\Utils\MethodDescriptorInterface; |