Fix Event & EventType resource issues and apply formatting
- Fix EventType deletion error handling (constraint violations) - Fix Event update error (package_id column missing) - Fix Event Type dropdown options (JSON display issue) - Fix EventPackagesRelationManager query error - Add missing translations for deletion errors - Apply Pint formatting
This commit is contained in:
@@ -50,7 +50,7 @@ class AdminDashboardWidgetsTest extends TestCase
|
||||
'created_at' => now()->subMonth(),
|
||||
]);
|
||||
|
||||
$widget = new RevenueTrendWidget();
|
||||
$widget = new RevenueTrendWidget;
|
||||
$data = $this->invokeProtectedMethod($widget, 'getData');
|
||||
|
||||
$this->assertArrayHasKey('datasets', $data);
|
||||
@@ -68,8 +68,6 @@ class AdminDashboardWidgetsTest extends TestCase
|
||||
/**
|
||||
* @template T
|
||||
*
|
||||
* @param object $object
|
||||
* @param string $method
|
||||
* @return mixed
|
||||
*/
|
||||
private function invokeProtectedMethod(object $object, string $method)
|
||||
|
||||
Reference in New Issue
Block a user