Skip to content

Commit 19e44e5

Browse files
committed
ユニットテストが失敗していたため調整
1 parent b47af60 commit 19e44e5

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@
8484
"cs-fix": "phpcbf --colors -p src/ tests/",
8585
"stan": "phpstan analyse",
8686
"install": [
87-
"composer self-update",
8887
"composer install --no-plugins",
8988
"bin/cake setup install",
9089
"bin/cake install https://localhost [email protected] baserCMS1234 basercms --host bc-db --username root --password root"

plugins/baser-core/tests/TestCase/Utility/BcComposerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ public function testSelfUpdate()
243243

244244
$this->assertEquals(0, $rs['code']);
245245
$this->assertEquals("A script named install would override a Composer command and has been skipped", $rs['out'][0]);
246-
$this->assertStringContainsString("You are already using the latest available Composer version", $rs['out'][1]);
246+
$this->assertMatchesRegularExpression("/(You are already using the latest available Composer version|Upgrading to version)/", $rs['out'][1]);
247247
}
248248

249249
/**

0 commit comments

Comments
 (0)