diff --git a/tests/Composer/Test/Command/InitCommandTest.php b/tests/Composer/Test/Command/InitCommandTest.php index 76710398c..3eb870713 100644 --- a/tests/Composer/Test/Command/InitCommandTest.php +++ b/tests/Composer/Test/Command/InitCommandTest.php @@ -10,7 +10,9 @@ class InitCommandTest extends TestCase function testParseValidAuthorString() { $command = new InitCommand; - $command->parseAuthorString('John Smith '); + $author = $command->parseAuthorString('John Smith '); + $this->assertEquals('John Smith', $author['name']); + $this->assertEquals('john@example.com', $author['email']); } function testParseEmptyAuthorString()