Skip to content

Commit

Permalink
Fixing some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed Jul 4, 2019
1 parent 9ca12a7 commit 143f9c4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Command/BuildDocsCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

class BuildDocsCommandTest extends TestCase
{
public function testBuildDocsFoo()
public function testBuildDocsDefault()
{
$buildContext = $this->createBuildContext();
$outputDir = __DIR__.'/../_output';
Expand All @@ -29,7 +29,7 @@ public function testBuildDocsFoo()
]
);

$this->assertContains('[OK] Parse process complete', $output);
$this->assertContains('[OK] Build complete', $output);

$this->assertTrue($filesystem->exists(sprintf('%s/_images/symfony-logo.png', $outputDir)));

Expand All @@ -40,7 +40,7 @@ public function testBuildDocsFoo()
'output-dir' => $outputDir,
]
);
$this->assertContains('[OK] Parse process complete', $output);
$this->assertContains('[OK] Build complete', $output);
}

public function testBuildDocsForPdf()
Expand Down Expand Up @@ -78,7 +78,7 @@ public function testBuildDocsForPdf()
$indenter->indent(file_get_contents(sprintf('%s/book.html', $outputDir)))
);

$this->assertContains('[OK] Parse process complete', $output);
$this->assertContains('[OK] Build complete', $output);
}

private function executeCommand(BuildContext $buildContext, array $input): string
Expand Down

0 comments on commit 143f9c4

Please sign in to comment.