Skip to content

Commit 78b40a8

Browse files
committed
Spelling mistakes for tests
1 parent e2dc063 commit 78b40a8

File tree

9 files changed

+11
-11
lines changed

9 files changed

+11
-11
lines changed

tests/Unit/Commands/Server/BulkPowerActionCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public function testSendWithEmptyOptions()
124124
}
125125

126126
/**
127-
* Test that validation occurrs correctly.
127+
* Test that validation occurs correctly.
128128
*
129129
* @param array $data
130130
*

tests/Unit/Http/Controllers/Server/Files/RemoteRequestControllerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function testDirectoryController()
7979
}
8080

8181
/**
82-
* Test that the controller properly handles an exception thrown by the daemon conneciton.
82+
* Test that the controller properly handles an exception thrown by the daemon connection.
8383
*/
8484
public function testExceptionThrownByDaemonConnectionIsHandledByDisplayController()
8585
{
@@ -125,7 +125,7 @@ public function testStoreController()
125125
}
126126

127127
/**
128-
* Test that the controller properly handles an exception thrown by the daemon conneciton.
128+
* Test that the controller properly handles an exception thrown by the daemon connection.
129129
*/
130130
public function testExceptionThrownByDaemonConnectionIsHandledByStoreController()
131131
{

tests/Unit/Http/Middleware/API/AuthenticateIPAccessTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function testWithValidIP()
3636
/**
3737
* Test that a CIDR range can be used.
3838
*/
39-
public function testValidIPAganistCIDRRange()
39+
public function testValidIPAgainstCIDRRange()
4040
{
4141
$model = factory(ApiKey::class)->make(['allowed_ips' => '["192.168.1.1/28"]']);
4242
$this->setRequestAttribute('api_key', $model);

tests/Unit/Http/Middleware/API/AuthenticateKeyTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function testMissingBearerTokenThrowsException()
5959
}
6060

6161
/**
62-
* Test that an invalid API identifer throws an exception.
62+
* Test that an invalid API identifier throws an exception.
6363
*
6464
* @expectedException \Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException
6565
*/

tests/Unit/Jobs/Schedule/RunTaskJobTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public function testPowerAction()
103103
}
104104

105105
/**
106-
* Test commmand action passed to job.
106+
* Test command action passed to job.
107107
*/
108108
public function testCommandAction()
109109
{

tests/Unit/Services/Allocations/AssignmentServiceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public function testIndividualIpAddressWithRange()
103103
}
104104

105105
/**
106-
* Test a non-CIRD IP address with a single port and an alias.
106+
* Test a non-CIDR IP address with a single port and an alias.
107107
*/
108108
public function testIndividualIPAddressWithAlias()
109109
{

tests/Unit/Services/Helpers/SoftwareVersionServiceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ public function panelVersionProvider()
153153
}
154154

155155
/**
156-
* Provide data for testing booklean response for daemon version.
156+
* Provide data for testing boolean response for daemon version.
157157
*
158158
* @return array
159159
*/

tests/Unit/Services/Schedules/Tasks/TaskCreationServiceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public function testExceptionIsThrownIfIntervalIsMoreThan15Minutes($interval, $v
149149
}
150150

151151
/**
152-
* Test that exceptions are thrown if the Scheudle module or ID is invalid.
152+
* Test that exceptions are thrown if the Schedule module or ID is invalid.
153153
*
154154
* @dataProvider invalidScheduleArgumentProvider
155155
* @expectedException \InvalidArgumentException

tests/Unit/Services/Servers/EnvironmentServiceTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function setUp()
3636
}
3737

3838
/**
39-
* Test that set environment key stores the key into a retreviable array.
39+
* Test that set environment key stores the key into a retrievable array.
4040
*/
4141
public function testSettingEnvironmentKeyPersistsItInArray()
4242
{
@@ -92,7 +92,7 @@ public function testProcessShouldReturnKeySetAtRuntime()
9292
/**
9393
* Test that duplicate variables provided in config override the defaults.
9494
*/
95-
public function testProcessShouldAllowOverwritingVaraiblesWithConfigurationFile()
95+
public function testProcessShouldAllowOverwritingVariablesWithConfigurationFile()
9696
{
9797
$model = $this->getServerModel();
9898
$this->repository->shouldReceive('getVariablesWithValues')->with($model->id)->once()->andReturn([]);

0 commit comments

Comments
 (0)