Add the shared preference keys and appearance values

This commit is contained in:
envoyr committed 2026-11-06 19:26:15 +00:00
1 parent 11ff83e40d
commit 1b64d2822f
3 files changed
+54

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
<?php
namespace Anikeen\Id\Tests;
use Anikeen\Id\Enums\Appearance;
use Anikeen\Id\Enums\SharedPreference;
class SharedPreferenceTest extends TestCase
{
public function test_the_shared_keys_and_values_match_anikeen_id(): void
{
$this->assertSame('global', SharedPreference::NAMESPACE);
$this->assertSame('appearance', SharedPreference::APPEARANCE);
$this->assertSame(['system', 'light', 'dark'], Appearance::all());
}
}