Skip to content
Permalink
Browse files

Update application version

(Forget to change app version)
  • Loading branch information
paul-thebaud committed Apr 12, 2018
1 parent 6acafc1 commit ee0d0f6eaaf458db844cf57f7fb736e3db3f7127
Showing with 3 additions and 3 deletions.
  1. +1 −1 src/Console/Application.php
  2. +2 −2 tests/unit/Console/ApplicationTest.php
@@ -32,7 +32,7 @@ class Application extends AbstractApplication
/**
* @var string VERSION The current application version.
*/
public const VERSION = '2.1.1';
public const VERSION = '2.1.3';

/**
* Application constructor.
@@ -47,7 +47,7 @@ public function testConstruct(): void
$this->assertInstanceOf(AbstractApplication::class, $app);

$this->assertSame('phpunitgen', $app->getName());
$this->assertSame('2.1.1', $app->getVersion());
$this->assertSame('2.1.3', $app->getVersion());

$generate = $app->get('generate');
$this->assertInstanceOf(GenerateCommand::class, $generate);
@@ -95,7 +95,7 @@ public function testDoRunNotQuiet(): void
$output->expects($this->once())->method('isQuiet')
->willReturn(false);
$output->expects($this->once())->method('writeln')
->with("PhpUnitGen by Paul Thébaud (version <info>2.1.1</info>).\n");
->with("PhpUnitGen by Paul Thébaud (version <info>2.1.3</info>).\n");

$app->expects($this->once())->method('doRunParent')
->with($input, $output)->willReturn(0);

0 comments on commit ee0d0f6

Please sign in to comment.
You can’t perform that action at this time.