Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve PHPUnit fixtures #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Conso/Testing/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class TestCase extends PHPUnitTestCase
*
* @return void
*/
public function setUp(): void
protected function setUp(): void
{
$this->output = new Output();
$this->output->disableAnsi();
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/CommandInvokerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class CommandInvokerTest extends TestCase
*
* @return void
*/
public function setUp(): void
protected function setUp(): void
{
parent::setUp();

Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/CommandLinkerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class CommandLinkerTest extends TestCase
*
* @return void
*/
public function setUp(): void
protected function setUp(): void
{
parent::setUp();

Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/CommandsTableTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class CommandsTableTest extends TestCase
*
* @return void
*/
public function setUp(): void
protected function setUp(): void
{
$this->table = new CommandsTable();
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/ConsoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class ConsoTest extends TestCase
*
* @return void
*/
public function setUp(): void
protected function setUp(): void
{
parent::setUp();
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/InputTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class InputTest extends TestCase
*
* @return void
*/
public function setUp(): void
protected function setUp(): void
{
$this->input = new Input('make:controller user --crud --test=value');
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/OutputTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class OutputTest extends TestCase
*
* @return void
*/
public function setUp(): void
protected function setUp(): void
{
parent::setUp();
}
Expand Down