Skip to content

Commit f149c7d

Browse files
aarondfrancisStyleCIBot
authored andcommitted
Apply fixes from StyleCI
[ci skip] [skip ci]
1 parent ffdf53a commit f149c7d

File tree

3 files changed

+0
-31
lines changed

3 files changed

+0
-31
lines changed

tests/Commands/ActivateTest.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,13 @@
55

66
namespace Hammerstone\Sidecar\Tests;
77

8-
use Aws\Lambda\Exception\LambdaException;
98
use Hammerstone\Sidecar\Clients\LambdaClient;
10-
use Hammerstone\Sidecar\Deployment;
119
use Hammerstone\Sidecar\Events\AfterFunctionsActivated;
1210
use Hammerstone\Sidecar\Events\AfterFunctionsDeployed;
1311
use Hammerstone\Sidecar\Events\BeforeFunctionsActivated;
1412
use Hammerstone\Sidecar\Events\BeforeFunctionsDeployed;
1513
use Hammerstone\Sidecar\Sidecar;
16-
use Hammerstone\Sidecar\Tests\Support\DeploymentTestFunction;
1714
use Illuminate\Support\Facades\Event;
18-
use Mockery;
1915

2016
class ActivateTest extends BaseTest
2117
{
@@ -107,5 +103,4 @@ public function it_should_activate_functions_with_env()
107103

108104
$this->assertEvents($deployed = false, $activated = true);
109105
}
110-
111106
}

tests/Commands/ConfigureTest.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,11 @@
55

66
namespace Hammerstone\Sidecar\Tests;
77

8-
use Aws\Lambda\Exception\LambdaException;
9-
use Hammerstone\Sidecar\Clients\LambdaClient;
10-
use Hammerstone\Sidecar\Deployment;
11-
use Hammerstone\Sidecar\Events\AfterFunctionsActivated;
12-
use Hammerstone\Sidecar\Events\AfterFunctionsDeployed;
13-
use Hammerstone\Sidecar\Events\BeforeFunctionsActivated;
14-
use Hammerstone\Sidecar\Events\BeforeFunctionsDeployed;
15-
use Hammerstone\Sidecar\Sidecar;
16-
use Hammerstone\Sidecar\Tests\Support\DeploymentTestFunction;
17-
use Illuminate\Support\Facades\Event;
18-
use Mockery;
19-
208
class ConfigureTest extends BaseTest
219
{
2210
/** @test */
2311
public function test_todo()
2412
{
2513
$this->markTestIncomplete('Test the configuration command.');
2614
}
27-
2815
}

tests/Commands/DeployTest.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,11 @@
55

66
namespace Hammerstone\Sidecar\Tests;
77

8-
use Aws\Lambda\Exception\LambdaException;
9-
use Hammerstone\Sidecar\Clients\LambdaClient;
10-
use Hammerstone\Sidecar\Deployment;
11-
use Hammerstone\Sidecar\Events\AfterFunctionsActivated;
12-
use Hammerstone\Sidecar\Events\AfterFunctionsDeployed;
13-
use Hammerstone\Sidecar\Events\BeforeFunctionsActivated;
14-
use Hammerstone\Sidecar\Events\BeforeFunctionsDeployed;
158
use Hammerstone\Sidecar\Sidecar;
169
use Hammerstone\Sidecar\Tests\Support\DeploymentTestFunction;
17-
use Illuminate\Support\Facades\Event;
18-
use Mockery;
1910

2011
class DeployTest extends DeploymentTest
2112
{
22-
2313
/** @test */
2414
public function it_deploys_the_functions_in_the_config()
2515
{
@@ -34,7 +24,6 @@ public function it_deploys_the_functions_in_the_config()
3424
$this->assertEvents($deployed = true, $activated = false);
3525
}
3626

37-
3827
/** @test */
3928
public function it_deploys_and_activates_the_functions_in_the_config()
4029
{
@@ -69,6 +58,4 @@ public function it_uses_a_fake_environment()
6958

7059
$this->assertEvents($deployed = true, $activated = false);
7160
}
72-
73-
7461
}

0 commit comments

Comments
 (0)