Fix app/ spelling errors
This commit is contained in:
parent
72d88cf243
commit
e2dc0638d9
61 changed files with 77 additions and 77 deletions
|
@ -24,7 +24,7 @@ class HumanReadableTest extends TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* Provide data to test aganist the helper function.
|
||||
* Provide data to test against the helper function.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
|
|
|
@ -24,7 +24,7 @@ class IsDigitTest extends TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* Provide data to test aganist the helper function.
|
||||
* Provide data to test against the helper function.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
|
|
|
@ -19,7 +19,7 @@ class AdminAclTest extends TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* Test that checking aganist a model works as expected.
|
||||
* Test that checking against a model works as expected.
|
||||
*/
|
||||
public function testCheck()
|
||||
{
|
||||
|
|
|
@ -65,7 +65,7 @@ class InstallScriptServiceTest extends TestCase
|
|||
{
|
||||
$this->data['copy_script_from'] = 1;
|
||||
|
||||
$this->repository->shouldReceive('isCopiableScript')->with(1, $this->model->nest_id)->once()->andReturn(true);
|
||||
$this->repository->shouldReceive('isCopyableScript')->with(1, $this->model->nest_id)->once()->andReturn(true);
|
||||
$this->repository->shouldReceive('withoutFreshModel')->withNoArgs()->once()->andReturnSelf()
|
||||
->shouldReceive('update')->with($this->model->id, $this->data)->andReturnNull();
|
||||
|
||||
|
@ -73,13 +73,13 @@ class InstallScriptServiceTest extends TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* Test that an exception gets raised when the script is not copiable.
|
||||
* Test that an exception gets raised when the script is not copyable.
|
||||
*/
|
||||
public function testUpdateWithInvalidCopyScriptFromAttribute()
|
||||
{
|
||||
$this->data['copy_script_from'] = 1;
|
||||
|
||||
$this->repository->shouldReceive('isCopiableScript')->with(1, $this->model->nest_id)->once()->andReturn(false);
|
||||
$this->repository->shouldReceive('isCopyableScript')->with(1, $this->model->nest_id)->once()->andReturn(false);
|
||||
try {
|
||||
$this->service->handle($this->model, $this->data);
|
||||
} catch (Exception $exception) {
|
||||
|
|
|
@ -68,7 +68,7 @@ class VariableCreationServiceTest extends TestCase
|
|||
|
||||
/**
|
||||
* Test that an empty (null) value passed in the option key is handled
|
||||
* properly as an array. Also tests the same case aganist the default_value.
|
||||
* properly as an array. Also tests the same case against the default_value.
|
||||
*
|
||||
* @see https://github.com/Pterodactyl/Panel/issues/841
|
||||
* @see https://github.com/Pterodactyl/Panel/issues/943
|
||||
|
|
|
@ -154,7 +154,7 @@ class PackCreationServiceTest extends TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* Return an array of valid mimetypes to test aganist.
|
||||
* Return an array of valid mimetypes to test against.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
|
@ -167,7 +167,7 @@ class PackCreationServiceTest extends TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* Provide invalid mimetypes to test exceptions aganist.
|
||||
* Provide invalid mimetypes to test exceptions against.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
|
|
|
@ -190,7 +190,7 @@ class TaskCreationServiceTest extends TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* Return an array of invalid schedule data to test aganist.
|
||||
* Return an array of invalid schedule data to test against.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue