structure changes
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
use Modules\Settings\Services\SettingsRepository;
|
||||
|
||||
it('stores and reads typed site settings from one repository', function (): void {
|
||||
$repository = app(SettingsRepository::class);
|
||||
$repository->put('site_name', 'Unified CMS', 'site', 'string', true);
|
||||
expect($repository->site()['site_name'])->toBe('Unified CMS');
|
||||
});
|
||||
Reference in New Issue
Block a user