Skip to content

Commit

Permalink
MNT Move config from silverstripe/admin so that unit-tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Aug 13, 2024
1 parent 58efda3 commit 6c92cc9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/Schema/TestSchemaBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down Expand Up @@ -101,7 +102,9 @@ private function bootstrapSchema(string $key)
'properties' => [
'handlers' => [
'graphqlTranscribe' => [
'off' => ['graphqlSchemaBuild']
'off' => ['graphqlSchemaBuild'],
'on' => ['graphqlSchemaBuild'],
'handler' => '%$SilverStripe\GraphQL\Schema\Services\SchemaTranscribeHandler',
],
],
],
Expand Down

0 comments on commit 6c92cc9

Please sign in to comment.