diff --git a/resources/js/layouts/app/app-sidebar-layout.tsx b/resources/js/layouts/app/app-sidebar-layout.tsx index a00bd4d4..d87290d5 100644 --- a/resources/js/layouts/app/app-sidebar-layout.tsx +++ b/resources/js/layouts/app/app-sidebar-layout.tsx @@ -23,7 +23,7 @@ export default function AppSidebarLayout({ toContain('className="pt-safe overflow-x-hidden pb-[90px] sm:pb-0"') + expect($layout)->toContain('className="pt-safe overflow-x-hidden pb-[90px] md:pb-0"') ->and($header)->not->toContain('pt-safe'); }); diff --git a/tests/Performance/PageQueryCountTest.php b/tests/Performance/PageQueryCountTest.php index f31f8d7b..14f5f4a5 100644 --- a/tests/Performance/PageQueryCountTest.php +++ b/tests/Performance/PageQueryCountTest.php @@ -1,5 +1,6 @@ user->accounts()->first(); + $account = Account::factory()->create([ + 'user_id' => $this->user->id, + 'currency_code' => $this->user->currency_code, + 'type' => AccountType::Checking, + ]); assertMaxQueries(18, function () use ($account) { $this->get(route('accounts.show', $account))->assertOk();