diff --git a/tests/Schema/TestSchemaBuilder.php b/tests/Schema/TestSchemaBuilder.php index 05047971..9f3ace1b 100644 --- a/tests/Schema/TestSchemaBuilder.php +++ b/tests/Schema/TestSchemaBuilder.php @@ -13,6 +13,7 @@ use SilverStripe\GraphQL\Schema\Logger; use SilverStripe\GraphQL\Schema\Schema; use SilverStripe\GraphQL\Schema\SchemaBuilder; +use SilverStripe\GraphQL\Schema\Services\SchemaTranscribeHandler; class TestSchemaBuilder extends SchemaBuilder { @@ -101,7 +102,9 @@ private function bootstrapSchema(string $key) 'properties' => [ 'handlers' => [ 'graphqlTranscribe' => [ - 'off' => ['graphqlSchemaBuild'] + 'off' => ['graphqlSchemaBuild'], + 'on' => ['graphqlSchemaBuild'], + 'handler' => '%$SilverStripe\GraphQL\Schema\Services\SchemaTranscribeHandler', ], ], ],