Skip to content

Commit cc0bdd8

Browse files
author
Dmitriy Tokarev
committed
Fix tests
1 parent f890c71 commit cc0bdd8

11 files changed

+11
-11
lines changed

tests/ConditionalActionsTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class ConditionalActionsTestCase extends OrchestraTestCase
1414
{
1515
use DummyTestHelper;
1616

17-
protected function setUp()
17+
protected function setUp(): void
1818
{
1919
parent::setUp();
2020

tests/EloquentConditionalActionsTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
class EloquentConditionalActionsTestCase extends ConditionalActionsTestCase
66
{
7-
protected function setUp()
7+
protected function setUp(): void
88
{
99
parent::setUp();
1010
$this->withFactories(realpath(\dirname(__DIR__) . '/tests/database/factories'));

tests/Feature/Entities/Eloquent/ConditionActionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class ConditionActionTest extends EloquentConditionalActionsTestCase
1515
/** @var Carbon */
1616
private $now = '2019-01-05 10:00:00';
1717

18-
protected function setUp()
18+
protected function setUp(): void
1919
{
2020
parent::setUp();
2121
Carbon::setTestNow(Carbon::parse($this->now));

tests/Feature/Entities/Eloquent/ConditionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class ConditionTest extends EloquentConditionalActionsTestCase
1616
/** @var Carbon */
1717
private $now = '2019-01-05 10:00:00';
1818

19-
protected function setUp()
19+
protected function setUp(): void
2020
{
2121
parent::setUp();
2222
Carbon::setTestNow(Carbon::parse($this->now));

tests/Feature/Http/Conditions/ActionsControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class ActionsControllerTest extends ConditionalActionsTestCase
2020

2121
private $validParams = ['name' => 'UpdateStateAttributeAction', 'condition_id' => 10];
2222

23-
protected function setUp()
23+
protected function setUp(): void
2424
{
2525
parent::setUp();
2626

tests/Feature/Http/Conditions/ConditionsControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class ConditionsControllerTest extends ConditionalActionsTestCase
1818
/** @var Mockery\MockInterface */
1919
private $conditionRepositoryMock;
2020

21-
protected function setUp()
21+
protected function setUp(): void
2222
{
2323
parent::setUp();
2424

tests/Feature/Repositories/EloquentActionRepositoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class EloquentActionRepositoryTest extends EloquentConditionalActionsTestCase
2323
'ends_at' => '2019-01-02 20:00:00',
2424
];
2525

26-
protected function setUp()
26+
protected function setUp(): void
2727
{
2828
parent::setUp();
2929

tests/Feature/Repositories/EloquentConditionRepositoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class EloquentConditionRepositoryTest extends EloquentConditionalActionsTestCase
2121
'ends_at' => '2019-01-02 20:00:00',
2222
];
2323

24-
protected function setUp()
24+
protected function setUp(): void
2525
{
2626
parent::setUp();
2727
$this->conditionsRepository = \app(EloquentConditionRepository::class);

tests/Unit/ConditionActionManagerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class ConditionActionManagerTest extends ConditionalActionsTestCase
1515
/** @var DummyTarget */
1616
private $target;
1717

18-
protected function setUp()
18+
protected function setUp(): void
1919
{
2020
parent::setUp();
2121
$this->manager = \app(ConditionalActionManager::class);

tests/Unit/Entities/Conditions/AllOfConditionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
class AllOfConditionTest extends HasChildrenConditionsTestCase
1010
{
11-
protected function setUp()
11+
protected function setUp(): void
1212
{
1313
parent::setUp();
1414
$this->makeTestCondition(\app(AllOfCondition::class));

0 commit comments

Comments
 (0)