Skip to content

Commit

Permalink
Merge pull request #99 from creative-commoners/pulls/master/graphql-v4
Browse files Browse the repository at this point in the history
MNT Show graphql v4 classes in api.silverstripe.org
  • Loading branch information
emteknetnz authored Jun 8, 2022
2 parents ff83ffb + 452f786 commit c7aee16
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions conf/doctum.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@
"repository": "https://github.com/silverstripe/silverstripe-framework.git"
},
"silverstripe/graphql": {
"repository": "https://github.com/silverstripe/silverstripe-graphql.git",
"versionmap": "starts-at-three"
"repository": "https://github.com/silverstripe/silverstripe-graphql.git"
},
"silverstripe/reports": {
"repository": "https://github.com/silverstripe/silverstripe-reports.git"
Expand Down
8 changes: 4 additions & 4 deletions tests/SilverStripeRemoteRepositoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,25 +27,25 @@ public function testGetRepoUrl()

$url = $remoteRepo->getFileUrl(
'4',
'silverstripe/graphql/src/Extensions/IntrospectionProvider.php',
'silverstripe/graphql/src/Extensions/DevBuildExtension.php',
0
);

$this->assertSame(
'https://github.com/silverstripe/'
. 'silverstripe-graphql/blob/3/src/Extensions/IntrospectionProvider.php#L0',
. 'silverstripe-graphql/blob/4/src/Extensions/DevBuildExtension.php#L0',
$url
);

$url = $remoteRepo->getFileUrl(
'master',
'silverstripe/graphql/src/Extensions/IntrospectionProvider.php',
'silverstripe/graphql/src/Extensions/DevBuildExtension.php',
0
);

$this->assertSame(
'https://github.com/silverstripe/'
. 'silverstripe-graphql/blob/master/src/Extensions/IntrospectionProvider.php#L0',
. 'silverstripe-graphql/blob/master/src/Extensions/DevBuildExtension.php#L0',
$url
);

Expand Down

0 comments on commit c7aee16

Please sign in to comment.