Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ildyria committed Oct 23, 2024
1 parent 96a2208 commit 12b3e4d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/Feature_v2/Album/AlbumUpdateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public function testUpdateAlbumUnauthorizedForbidden(): void
'album_sorting_column' => 'title',
'album_sorting_order' => 'DESC',
'album_aspect_ratio' => '1/1',
'photo_layout' => null,
'copyright' => '',
'is_compact' => false,
'header_id' => null,
Expand All @@ -44,6 +45,7 @@ public function testUpdateAlbumUnauthorizedForbidden(): void
'album_sorting_column' => 'title',
'album_sorting_order' => 'DESC',
'album_aspect_ratio' => '1/1',
'photo_layout' => null,
'copyright' => '',
'is_compact' => false,
'header_id' => null,
Expand All @@ -63,6 +65,7 @@ public function testUpdateAlbumAuthorized(): void
'album_sorting_column' => 'title',
'album_sorting_order' => 'DESC',
'album_aspect_ratio' => '1/1',
'photo_layout' => null,
'copyright' => '',
'is_compact' => false,
'header_id' => null,
Expand All @@ -80,6 +83,7 @@ public function testUpdateTagAlbumUnauthorizedForbidden(): void
'photo_sorting_column' => 'title',
'photo_sorting_order' => 'ASC',
'copyright' => '',
'photo_layout' => null,
]);
$this->assertUnauthorized($response);

Expand All @@ -91,6 +95,7 @@ public function testUpdateTagAlbumUnauthorizedForbidden(): void
'photo_sorting_column' => 'title',
'photo_sorting_order' => 'ASC',
'copyright' => '',
'photo_layout' => null,
]);
$this->assertForbidden($response);
}
Expand All @@ -105,6 +110,7 @@ public function testUpdateTagAlbumAuthorized(): void
'photo_sorting_column' => 'title',
'photo_sorting_order' => 'ASC',
'copyright' => '',
'photo_layout' => null,
]);
$this->assertOk($response);

Expand Down

0 comments on commit 12b3e4d

Please sign in to comment.