1
0
Fork 0

Fix typo for IO tests (#12027)

pull/12033/head
Quỳnh Nguyễn 2024-07-02 05:30:29 +07:00 committed by GitHub
parent 11e5237ad9
commit dffa0a73a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -255,7 +255,7 @@ class ConsoleIOTest extends TestCase
self::assertEquals(['1'], $result); self::assertEquals(['1'], $result);
} }
public function testSetAndgetAuthentication(): void public function testSetAndGetAuthentication(): void
{ {
$inputMock = $this->getMockBuilder('Symfony\Component\Console\Input\InputInterface')->getMock(); $inputMock = $this->getMockBuilder('Symfony\Component\Console\Input\InputInterface')->getMock();
$outputMock = $this->getMockBuilder('Symfony\Component\Console\Output\OutputInterface')->getMock(); $outputMock = $this->getMockBuilder('Symfony\Component\Console\Output\OutputInterface')->getMock();

View File

@ -24,7 +24,7 @@ class NullIOTest extends TestCase
self::assertFalse($io->isInteractive()); self::assertFalse($io->isInteractive());
} }
public function testhasAuthentication(): void public function testHasAuthentication(): void
{ {
$io = new NullIO(); $io = new NullIO();
@ -38,7 +38,7 @@ class NullIOTest extends TestCase
self::assertNull($io->askAndHideAnswer('foo')); self::assertNull($io->askAndHideAnswer('foo'));
} }
public function testgetAuthentications(): void public function testGetAuthentications(): void
{ {
$io = new NullIO(); $io = new NullIO();
@ -58,7 +58,7 @@ class NullIOTest extends TestCase
{ {
$io = new NullIO(); $io = new NullIO();
self::assertEquals(false, $io->askConfirmation('bar', false)); self::assertFalse($io->askConfirmation('bar', false));
} }
public function testAskAndValidate(): void public function testAskAndValidate(): void