mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 08:12:15 +00:00
record daily traffic instead of monthly
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\App\Users;
|
||||
|
||||
use Storage;
|
||||
@@ -118,7 +117,7 @@ class UserAccountTest extends TestCase
|
||||
|
||||
collect(config('vuefilemanager.avatar_sizes'))
|
||||
->each(
|
||||
fn($size) => Storage::disk('local')
|
||||
fn ($size) => Storage::disk('local')
|
||||
->assertExists("avatars/{$size['name']}-{$user->settings->getRawOriginal('avatar')}")
|
||||
);
|
||||
}
|
||||
@@ -137,7 +136,7 @@ class UserAccountTest extends TestCase
|
||||
->assertStatus(200)
|
||||
->assertExactJson([
|
||||
'data' => [
|
||||
'id' => (string)$user->id,
|
||||
'id' => (string) $user->id,
|
||||
'type' => 'user',
|
||||
'attributes' => [
|
||||
'avatar' => null,
|
||||
@@ -157,7 +156,7 @@ class UserAccountTest extends TestCase
|
||||
'relationships' => [
|
||||
'settings' => [
|
||||
'data' => [
|
||||
'id' => (string)$user->id,
|
||||
'id' => (string) $user->id,
|
||||
'type' => 'settings',
|
||||
'attributes' => [
|
||||
'avatar' => $user->settings->avatar,
|
||||
|
||||
Reference in New Issue
Block a user