File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -59,23 +59,23 @@ public function provideExplicitStability()
59
59
public function testLowestWins ($ version , $ default , $ expect )
60
60
{
61
61
$ fixture = new StabilityFlags ([
62
- 'test ' => BasePackage:: STABILITY_ALPHA ,
62
+ 'test ' => $ default ,
63
63
]);
64
64
$ got = $ fixture ->extractAll ([
65
- 'test ' => $ this ->makeLink (' @rc ' )->reveal (),
65
+ 'test ' => $ this ->makeLink ($ version )->reveal (),
66
66
]);
67
- $ this ->assertSame (BasePackage:: STABILITY_ALPHA , $ got ['test ' ]);
67
+ $ this ->assertSame ($ expect , $ got ['test ' ]);
68
68
}
69
69
70
70
public function provideLowestWins ()
71
71
{
72
72
return [
73
- ' default ' => [
73
+ [
74
74
'1.0@RC ' ,
75
75
BasePackage::STABILITY_BETA ,
76
76
BasePackage::STABILITY_BETA
77
77
],
78
- ' default ' => [
78
+ [
79
79
'1.0@dev ' ,
80
80
BasePackage::STABILITY_BETA ,
81
81
BasePackage::STABILITY_DEV
You can’t perform that action at this time.
0 commit comments