Skip to content

Commit

Permalink
Fixed typo in readme. Increased unit test coverage to 100%.
Browse files Browse the repository at this point in the history
  • Loading branch information
picamator committed Nov 18, 2016
1 parent bf55ef6 commit a27f0ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -47,11 +47,11 @@ _Note_: all example command SHOULD be run inside `import-web` container.

### user:import-csv

Please run `php bin/console user:import-csv -h` to see how to use command.
Please execute `php bin/console user:import-csv -h` to see how to use command.

#### Example 1

In that example valid user file is importing.
In that example is importing valid user file.

Please execute:

Expand All @@ -70,7 +70,7 @@ Skipped: 0

#### Example 2

In that example some file contains some invalid rows.
In that example file contains some invalid rows.

Please execute command:

Expand Down
4 changes: 2 additions & 2 deletions tests/AppBundle/Command/UserImportCsvCommandTest.php
Expand Up @@ -111,11 +111,11 @@ public function testExecute()

$this->importResultMock->expects($this->once())
->method('getSkipped')
->willReturn(0);
->willReturn(1);

$this->importResultMock->expects($this->once())
->method('getErrorList')
->willReturn([]);
->willReturn(['message']);

// output mock
$this->outputMock->expects($this->once())
Expand Down

0 comments on commit a27f0ac

Please sign in to comment.