-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENH Add versioning to Link #90
ENH Add versioning to Link #90
Conversation
72c1c40
to
5f526fb
Compare
66103e9
to
b008bad
Compare
a2b0cda
to
09f0108
Compare
@@ -250,14 +271,9 @@ public function linkTypeEnabledProvider(): array | |||
*/ | |||
public function testGetUrl(string $identifier, string $class, string $expected): void | |||
{ | |||
Versioned::withVersionedMode(function () use ($identifier, $class, $expected): void { | |||
Versioned::set_stage(Versioned::LIVE); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Versioning doesn't have any impact on this test (it's testing getURL()), and setting things to LIVE means we'd need to publish the Links before making assertions
Design feedback:
|
3f3483e
to
c2f8b7b
Compare
Design review has implemented and approved |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just tiny changes.
c2f8b7b
to
4ef6633
Compare
4ef6633
to
ffb1ae0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Test locally. Works perfect.
Issue #7