Skip to content

Commit

Permalink
MNT Show graphql v4 classes in api.silverstripe.org
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Jun 7, 2022
1 parent ff83ffb commit 452f786
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 452f786

Please sign in to comment.