Commit ab42a44d authored by Viral Solani's avatar Viral Solani Committed by StyleCI Bot

Apply fixes from StyleCI

parent b788def5
......@@ -19,7 +19,7 @@ class PageTest extends TestCase
$this->user = User::find(1);
$this->token = JWTAuth::fromUser($this->user);
$this->headers = ['Authorization' => 'Bearer ' . $this->token];
$this->headers = ['Authorization' => 'Bearer '.$this->token];
}
/**
......@@ -66,7 +66,7 @@ class PageTest extends TestCase
{
$page = create(Page::class);
$payload = [];
$response = $this->json('GET', '/api/v1/pages/' . $page->id, $payload, $this->headers);
$response = $this->json('GET', '/api/v1/pages/'.$page->id, $payload, $this->headers);
$response
->assertStatus(200)
->assertJson([
......@@ -108,7 +108,7 @@ class PageTest extends TestCase
'title' => $page->title,
'status_label' => $page->status_label,
'status' => ($page->isActive()) ? 'Active' : 'InActive',
'created_by' => '' . $this->user->id,
'created_by' => ''.$this->user->id,
],
]);
}
......@@ -157,7 +157,7 @@ class PageTest extends TestCase
{
$page = create(Page::class);
$payload = [];
$response = $this->json('DELETE', '/api/v1/pages/' . $page->id, $payload, $this->headers);
$response = $this->json('DELETE', '/api/v1/pages/'.$page->id, $payload, $this->headers);
$response->assertStatus(200)
->assertJson([
'message' => 'The Page was successfully deleted.',
......
......@@ -142,7 +142,7 @@ class ManageBlogsTest extends TestCase
$stored_blog = Blog::find(2);
Storage::disk('public')->assertExists('img/blog/' . $stored_blog->featured_image);
Storage::disk('public')->assertExists('img/blog/'.$stored_blog->featured_image);
}
/** @test */
......
......@@ -38,7 +38,7 @@ class ManageSettingsTest extends TestCase
'logo' => UploadedFile::fake()->image('logo.jpg', 226, 48),
]);
Storage::disk('public')->assertExists('img/logo/' . $this->setting->logo);
Storage::disk('public')->assertExists('img/logo/'.$this->setting->logo);
}
/** @test */
......@@ -59,7 +59,7 @@ class ManageSettingsTest extends TestCase
'favicon' => UploadedFile::fake()->image('favicon.jpg', 16, 16),
]);
Storage::disk('public')->assertExists('img/favicon/' . $this->setting->favicon);
Storage::disk('public')->assertExists('img/favicon/'.$this->setting->favicon);
}
/** @test */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment