Migrated AppOptions to immutable object

This commit is contained in:
Alejandro Celaya
2022-09-17 13:01:28 +02:00
parent fe4b2c4ae4
commit 9685929824
6 changed files with 7 additions and 31 deletions

View File

@@ -165,7 +165,7 @@ class NotifyVisitToWebHooksTest extends TestCase
['webhooks' => $webhooks, 'notify_orphan_visits_to_webhooks' => $notifyOrphanVisits],
),
new ShortUrlDataTransformer(new ShortUrlStringifier([])),
new AppOptions(['name' => 'Shlink', 'version' => '1.2.3']),
new AppOptions('Shlink', '1.2.3'),
);
}
}