@@ -115,23 +115,41 @@ public function testGetPackageVersions()
115
115
116
116
$ expected = [
117
117
[
118
+ 'id ' => '1.2.0 ' ,
119
+ 'name ' => 'Version 1.2.0 EE (latest) ' ,
120
+ 'package ' => 'magento/product-enterprise-edition ' ,
121
+ 'stable ' => true
122
+ ],
123
+ [
124
+ 'id ' => '1.2.0 ' ,
125
+ 'name ' => 'Version 1.2.0 CE (latest) ' ,
118
126
'package ' => 'magento/product-community-edition ' ,
119
- 'versions ' =>
120
- [
121
- ['id ' => '1.2.0 ' , 'name ' => 'Version 1.2.0 CE (latest) ' ],
122
- ['id ' => '1.1.0 ' , 'name ' => 'Version 1.1.0 CE ' ],
123
- ['id ' => '1.0.0 ' , 'name ' => 'Version 1.0.0 CE (current) ' ]
124
- ]
127
+ 'stable ' => true
125
128
],
126
129
[
130
+ 'id ' => '1.1.0 ' ,
131
+ 'name ' => 'Version 1.1.0 EE ' ,
127
132
'package ' => 'magento/product-enterprise-edition ' ,
128
- 'versions ' =>
129
- [
130
- ['id ' => '1.2.0 ' , 'name ' => 'Version 1.2.0 EE (latest) ' ],
131
- ['id ' => '1.1.0 ' , 'name ' => 'Version 1.1.0 EE ' ],
132
- ['id ' => '1.0.0 ' , 'name ' => 'Version 1.0.0 EE (current) ' ]
133
- ]
134
- ]
133
+ 'stable ' => true
134
+ ],
135
+ [
136
+ 'id ' => '1.1.0 ' ,
137
+ 'name ' => 'Version 1.1.0 CE ' ,
138
+ 'package ' => 'magento/product-community-edition ' ,
139
+ 'stable ' => true
140
+ ],
141
+ [
142
+ 'id ' => '1.0.0 ' ,
143
+ 'name ' => 'Version 1.0.0 EE (current) ' ,
144
+ 'package ' => 'magento/product-enterprise-edition ' ,
145
+ 'stable ' => true
146
+ ],
147
+ [
148
+ 'id ' => '1.0.0 ' ,
149
+ 'name ' => 'Version 1.0.0 CE (current) ' ,
150
+ 'package ' => 'magento/product-community-edition ' ,
151
+ 'stable ' => true
152
+ ],
135
153
];
136
154
137
155
$ this ->infoCommand ->expects ($ this ->at (0 ))
0 commit comments