Apply fixes from StyleCI (#577)

This commit is contained in:
Dane Everitt 2017-08-05 17:26:30 -05:00 committed by GitHub
parent 4da7922de6
commit a4b61846ac
44 changed files with 198 additions and 201 deletions

View file

@ -25,9 +25,9 @@
namespace Tests\Unit\Services\Servers;
use Exception;
use Illuminate\Log\Writer;
use Mockery as m;
use Tests\TestCase;
use Illuminate\Log\Writer;
use phpmock\phpunit\PHPMock;
use Pterodactyl\Models\Server;
use Illuminate\Database\DatabaseManager;
@ -258,7 +258,7 @@ class DetailsModificationServiceTest extends TestCase
} catch (Exception $exception) {
$this->assertInstanceOf(DisplayException::class, $exception);
$this->assertEquals(
trans('admin/server.exceptions.daemon_exception', ['code' => 400,]), $exception->getMessage()
trans('admin/server.exceptions.daemon_exception', ['code' => 400]), $exception->getMessage()
);
}
}
@ -371,7 +371,7 @@ class DetailsModificationServiceTest extends TestCase
} catch (Exception $exception) {
$this->assertInstanceOf(DisplayException::class, $exception);
$this->assertEquals(
trans('admin/server.exceptions.daemon_exception', ['code' => 400,]), $exception->getMessage()
trans('admin/server.exceptions.daemon_exception', ['code' => 400]), $exception->getMessage()
);
}
}