From 18403aaa810826d3e8bd2681e95bc2bfeaf6b776 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Thu, 27 Nov 2014 22:05:38 +0000 Subject: [PATCH] No trailing spaces and braces on new line --- .../Controllers/Api/ComponentControllerTest.php | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/app/tests/Controllers/Api/ComponentControllerTest.php b/app/tests/Controllers/Api/ComponentControllerTest.php index c45e52ee..55a4c0d2 100644 --- a/app/tests/Controllers/Api/ComponentControllerTest.php +++ b/app/tests/Controllers/Api/ComponentControllerTest.php @@ -11,23 +11,21 @@ class ComponentControllerTest extends TestCase { Mockery::close(); } - public function test_get_components_method() - { + public function test_get_components_method() { $this->repo->shouldReceive('all')->once()->andReturn('foo'); $controller = new CachetHQ\Cachet\Controllers\Api\ComponentController($this->dingo, $this->repo); $response = $controller->getComponents(); - + $this->assertEquals('foo', $response); } - public function test_get_component_method() - { + public function test_get_component_method() { $this->repo->shouldReceive('findOrFail')->with(1)->once()->andReturn('foo'); $controller = new CachetHQ\Cachet\Controllers\Api\ComponentController($this->dingo, $this->repo); $response = $controller->getComponent(1); - + $this->assertEquals('foo', $response); } -} \ No newline at end of file +}