changes to sms packages and option to create user

This commit is contained in:
Simon Pocrnjič
2025-11-06 21:54:07 +01:00
parent ad8e0d5cee
commit 1395b72ae8
102 changed files with 1386 additions and 319 deletions
+2 -2
View File
@@ -33,10 +33,10 @@ public function test_dashboard_returns_kpis_and_trends(): void
$this->assertArrayHasKey('kpis', $props);
$this->assertArrayHasKey('trends', $props);
foreach (['clients_total','clients_new_7d','field_jobs_today','documents_today','active_imports','active_contracts'] as $k) {
foreach (['clients_total', 'clients_new_7d', 'field_jobs_today', 'documents_today', 'active_imports', 'active_contracts'] as $k) {
$this->assertArrayHasKey($k, $props['kpis']);
}
foreach (['clients_new','documents_new','field_jobs','imports_new','labels'] as $k) {
foreach (['clients_new', 'documents_new', 'field_jobs', 'imports_new', 'labels'] as $k) {
$this->assertArrayHasKey($k, $props['trends']);
}
}