Skip to content

Commit c23bcbe

Browse files
committed
PHP 8.1 compatibility
- cleanup
1 parent 636eb1d commit c23bcbe

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

tests/FullStackTest/home/composer.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
{
22
"repositories": [
3-
{
4-
"type": "composer",
5-
"url": "https://packages.firegento.com"
6-
},
73
{
84
"type": "artifact",
95
"url": "../artifact/"

tests/MagentoHackathon/Composer/Magento/FullStack/AbstractTest.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ abstract class AbstractTest extends \PHPUnit\Framework\TestCase
2828
*
2929
* @var string
3030
*/
31-
protected static $testVersion = '101.500.900';
31+
protected static $testVersion = '100.100.100';
3232

3333
public static function setUpBeforeClass(): void
3434
{
@@ -98,11 +98,8 @@ protected static function getProjectRoot(){
9898
}
9999

100100
protected static function getComposerCommand(){
101-
$command = './composer.phar';
102-
if( getenv('TRAVIS') == "true" ){
103-
$command = self::getProjectRoot() . '/composer.phar';
104-
}
105-
return $command;
101+
102+
return './composer.phar';
106103
}
107104

108105
protected static function getComposerArgs(){

tests/MagentoHackathon/Composer/Magento/FullStackTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ protected function getFirstOnlyFileTestSet()
206206
'app/code/Magento/ModuleMock/etc/module.xml',
207207
'app/design/frontend/Magento/luma/Magento_ThemeMock/Foobar/issue76.phtml',
208208
'app/design/adminhtml/Magento/luma/Magento_AdminThemeMock/wildcard/wildcard.phtml',
209+
'composer_lib/autoload.php',
209210
'composer_lib/magento-hackathon/magento-composer-installer-test-library/composer.json',
210211
// 'app/design/frontend/test/default/updateFileRemove/design/test2.phtml',
211212
];

0 commit comments

Comments
 (0)