feat(admin-dashboard): sync trend/billing card height with recent orders
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Feature;
|
||||
|
||||
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
use Tests\TestCase;
|
||||
|
||||
class AdminJsDashboardCardsHeightSyncShouldUseRecentOrdersHeightTest extends TestCase
|
||||
{
|
||||
use RefreshDatabase;
|
||||
|
||||
public function test_admin_js_should_include_dashboard_height_sync_selectors(): void
|
||||
{
|
||||
$js = (string) file_get_contents(public_path('js/admin.js'));
|
||||
|
||||
$this->assertStringContainsString('dashboard-card-recent-platform-orders', $js);
|
||||
$this->assertStringContainsString('dashboard-card-trend', $js);
|
||||
$this->assertStringContainsString('dashboard-card-billing-workbench', $js);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user