Fix Pint formatting
This commit is contained in:
@@ -12,9 +12,9 @@ class StaticPageServiceTest extends TestCase
|
||||
{
|
||||
$dir = public_path('html');
|
||||
File::ensureDirectoryExists($dir);
|
||||
File::put($dir . '/terms_of_service.html', '<h1>Terms</h1>');
|
||||
File::put($dir.'/terms_of_service.html', '<h1>Terms</h1>');
|
||||
|
||||
$service = new StaticPageService();
|
||||
$service = new StaticPageService;
|
||||
$result = $service->load('terms_of_service.html', 'terms_of_service');
|
||||
|
||||
$this->assertTrue($result['ok']);
|
||||
@@ -24,7 +24,7 @@ class StaticPageServiceTest extends TestCase
|
||||
|
||||
public function test_load_missing_returns_error(): void
|
||||
{
|
||||
$service = new StaticPageService();
|
||||
$service = new StaticPageService;
|
||||
$result = $service->load('missing.html', 'missing');
|
||||
|
||||
$this->assertFalse($result['ok']);
|
||||
|
||||
Reference in New Issue
Block a user