Skip to content

Commit a609fb9

Browse files
committed
fix: pipeline error
1 parent 47c4cec commit a609fb9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

tests/Configurator/CopyFromPackageConfiguratorTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function testConfigureAndOverwriteFiles()
5757

5858
$this->io->expects($this->at(0))->method('writeError')->with([' Copying files from package']);
5959
$this->io->expects($this->at(2))->method('writeError')->with([' Created <fg=green>"./public/file"</>']);
60-
$this->io->method('askConfirmation')->with('File "build/public/file" has uncommitted changes, overwrite? [y/N] ')->willReturn(true);
60+
$this->io->method('askConfirmation')->with('File "build/public/file" has uncommitted changes, overwrite? [Y/n] ')->willReturn(true);
6161

6262
$this->assertFileExists($this->targetFile);
6363
$this->createConfigurator()->configure(

tests/Configurator/CopyFromRecipeConfiguratorTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function testConfigureAndOverwriteFiles()
6868

6969
$this->io->expects($this->at(0))->method('writeError')->with([' Copying files from recipe']);
7070
$this->io->expects($this->at(2))->method('writeError')->with([' Created <fg=green>"./config/file"</>']);
71-
$this->io->method('askConfirmation')->with('File "build/config/file" has uncommitted changes, overwrite? [y/N] ')->willReturn(true);
71+
$this->io->method('askConfirmation')->with('File "build/config/file" has uncommitted changes, overwrite? [Y/n] ')->willReturn(true);
7272

7373
$this->assertFileExists($this->targetFile);
7474
$this->createConfigurator()->configure(

tests/FlexTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ public function testInstallWithPackageJsonToSynchronizeSkipped()
322322

323323
$this->assertStringContainsString(
324324
'Skip synchronizing package.json with PHP packages',
325-
$io->getOutput(),
325+
$io->getOutput()
326326
);
327327
}
328328

@@ -339,7 +339,7 @@ public function testInstallWithoutPackageJsonToSynchronizeSkipped(array $extra)
339339

340340
$this->assertStringNotContainsString(
341341
'Skip synchronizing package.json with PHP packages',
342-
$io->getOutput(),
342+
$io->getOutput()
343343
);
344344
}
345345

0 commit comments

Comments
 (0)