Skip to content

Commit

Permalink
Small bugfixes in heroicons and in tests
Browse files Browse the repository at this point in the history
Signed-off-by: Stefanos Georgopoulos <[email protected]>
  • Loading branch information
stefanosgeo committed Apr 18, 2024
1 parent 28daaad commit 2a99b1d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class="h-8 rounded-full">
@endif
<div class="flex items-center">
<div class="pr-2">
<x-heroicon-o-office-building class="h-4 dark:text-white" />
<x-heroicon-o-building-office class="h-4 dark:text-white" />
</div>
<div class="">
<p class="text-gray-900 dark:text-white">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class="h-8 rounded-full">
@endif
<div class="flex items-center">
<div class="pr-2">
<x-heroicon-o-office-building class="h-4" />
<x-heroicon-o-building-office class="h-4" />
</div>
<div class="">
<p class="text-gray-900 dark:text-white">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

use function Pest\Laravel\get;
use function Pest\Laravel\patch;
use function Pest\Laravel\withoutExceptionHandling;

uses()->group('backend')->beforeEach(function () {
$disk = Storage::fake('images');
Expand Down Expand Up @@ -116,15 +115,14 @@
});

it('allows access to image create for a minimum role of portal admin', function () {
withoutExceptionHandling();
signInRole(Role::ADMIN);

get(route('images.create'))
->assertOk()
->assertViewIs('backend.images.create');
});

it('hasa show page for an image with information about it', function () {
it('has a show page for an image with information about it', function () {
signInRole(Role::MODERATOR);

get(route('images.show', $this->image))
Expand Down

0 comments on commit 2a99b1d

Please sign in to comment.