@@ -1144,6 +1144,103 @@ public function provideCreateJson(): array
11441144 ],
11451145 ]
11461146 ],
1147+ // test for graphql 5.2 which is used in both installer 5.3 and installer 5.2
1148+ // it should use installer 5.3.x-dev
1149+ [
1150+ implode ("\n" , [
1151+ $ this ->getGenericYml (),
1152+ <<<EOT
1153+ github_repository: 'myaccount/silverstripe-graphql'
1154+ github_my_ref: '5.2'
1155+ parent_branch: ''
1156+ EOT
1157+ ]),
1158+ false ,
1159+ false ,
1160+ false ,
1161+ [
1162+ [
1163+ 'installer_version ' => '5.3.x-dev ' ,
1164+ 'php ' => '8.1 ' ,
1165+ 'db ' => DB_MYSQL_57 ,
1166+ 'composer_require_extra ' => '' ,
1167+ 'composer_args ' => '--prefer-lowest ' ,
1168+ 'name_suffix ' => '' ,
1169+ 'phpunit ' => 'true ' ,
1170+ 'phpunit_suite ' => 'all ' ,
1171+ 'phplinting ' => 'false ' ,
1172+ 'phpcoverage ' => 'false ' ,
1173+ 'endtoend ' => 'false ' ,
1174+ 'endtoend_suite ' => 'root ' ,
1175+ 'endtoend_config ' => '' ,
1176+ 'endtoend_tags ' => '' ,
1177+ 'js ' => 'false ' ,
1178+ 'doclinting ' => 'false ' ,
1179+ 'needs_full_setup ' => 'true ' ,
1180+ 'name ' => '8.1 prf-low mysql57 phpunit all ' ,
1181+ ],
1182+ [
1183+ 'installer_version ' => '5.3.x-dev ' ,
1184+ 'php ' => '8.2 ' ,
1185+ 'db ' => DB_MARIADB ,
1186+ 'composer_require_extra ' => '' ,
1187+ 'composer_args ' => '' ,
1188+ 'name_suffix ' => '' ,
1189+ 'phpunit ' => 'true ' ,
1190+ 'phpunit_suite ' => 'all ' ,
1191+ 'phplinting ' => 'false ' ,
1192+ 'phpcoverage ' => 'false ' ,
1193+ 'endtoend ' => 'false ' ,
1194+ 'endtoend_suite ' => 'root ' ,
1195+ 'endtoend_config ' => '' ,
1196+ 'endtoend_tags ' => '' ,
1197+ 'js ' => 'false ' ,
1198+ 'doclinting ' => 'false ' ,
1199+ 'needs_full_setup ' => 'true ' ,
1200+ 'name ' => '8.2 mariadb phpunit all ' ,
1201+ ],
1202+ [
1203+ 'installer_version ' => '5.3.x-dev ' ,
1204+ 'php ' => '8.3 ' ,
1205+ 'db ' => DB_MYSQL_80 ,
1206+ 'composer_require_extra ' => '' ,
1207+ 'composer_args ' => '' ,
1208+ 'name_suffix ' => '' ,
1209+ 'phpunit ' => 'true ' ,
1210+ 'phpunit_suite ' => 'all ' ,
1211+ 'phplinting ' => 'false ' ,
1212+ 'phpcoverage ' => 'false ' ,
1213+ 'endtoend ' => 'false ' ,
1214+ 'endtoend_suite ' => 'root ' ,
1215+ 'endtoend_config ' => '' ,
1216+ 'endtoend_tags ' => '' ,
1217+ 'js ' => 'false ' ,
1218+ 'doclinting ' => 'false ' ,
1219+ 'needs_full_setup ' => 'true ' ,
1220+ 'name ' => '8.3 mysql80 phpunit all ' ,
1221+ ],
1222+ [
1223+ 'installer_version ' => '5.3.x-dev ' ,
1224+ 'php ' => '8.3 ' ,
1225+ 'db ' => DB_MYSQL_84 ,
1226+ 'composer_require_extra ' => '' ,
1227+ 'composer_args ' => '' ,
1228+ 'name_suffix ' => '' ,
1229+ 'phpunit ' => 'true ' ,
1230+ 'phpunit_suite ' => 'all ' ,
1231+ 'phplinting ' => 'false ' ,
1232+ 'phpcoverage ' => 'false ' ,
1233+ 'endtoend ' => 'false ' ,
1234+ 'endtoend_suite ' => 'root ' ,
1235+ 'endtoend_config ' => '' ,
1236+ 'endtoend_tags ' => '' ,
1237+ 'js ' => 'false ' ,
1238+ 'doclinting ' => 'false ' ,
1239+ 'needs_full_setup ' => 'true ' ,
1240+ 'name ' => '8.3 mysql84 phpunit all ' ,
1241+ ],
1242+ ]
1243+ ],
11471244 ];
11481245 }
11491246
0 commit comments