Skip to content

Commit d53a37d

Browse files
committed
Merge branch '3.x' of github.com:BinarCode/laravel-restify into 3.x
2 parents e19b188 + a9e6de4 commit d53a37d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/Controllers/ProfileControllerTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
use Binaryk\LaravelRestify\Tests\IntegrationTest;
77
use Illuminate\Http\UploadedFile;
88
use Illuminate\Support\Facades\Hash;
9-
use Illuminate\Support\Facades\Storage;
109

1110
class ProfileControllerTest extends IntegrationTest
1211
{
@@ -25,7 +24,7 @@ public function test_profile_returns_authenticated_user()
2524
$response = $this->getJson('/restify-api/profile')
2625
->assertStatus(200)
2726
->assertJsonStructure([
28-
'data'
27+
'data',
2928
]);
3029

3130
$response->assertJsonFragment([
@@ -58,7 +57,6 @@ public function test_profile_update_password()
5857
->assertStatus(200);
5958

6059
$this->assertTrue(Hash::check('secret', $this->authenticatedAs->password));
61-
6260
}
6361

6462
public function test_profile_update_unique_email()
@@ -78,7 +76,7 @@ public function test_profile_upload_avatar()
7876
$file = UploadedFile::fake()->image($this->getTestJpg())->size(100);
7977

8078
$this->postJson('restify-api/profile/avatar', [
81-
'avatar' => $file
79+
'avatar' => $file,
8280
])
8381
->assertStatus(200);
8482
}

0 commit comments

Comments
 (0)