File tree Expand file tree Collapse file tree 3 files changed +61
-1
lines changed Expand file tree Collapse file tree 3 files changed +61
-1
lines changed Original file line number Diff line number Diff line change 13
13
14
14
namespace Storyblok \Api \Tests \Unit \Domain \Value ;
15
15
16
- use Ergebnis \DataProvider \StringProvider ;
17
16
use Ergebnis \DataProvider \IntProvider ;
18
17
use Ergebnis \DataProvider \NullProvider ;
18
+ use Ergebnis \DataProvider \StringProvider ;
19
19
use PHPUnit \Framework \Attributes \DataProviderExternal ;
20
20
use PHPUnit \Framework \Attributes \Test ;
21
21
use PHPUnit \Framework \TestCase ;
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ declare (strict_types=1 );
4
+
5
+ /**
6
+ * This file is part of Storyblok-Api.
7
+ *
8
+ * (c) SensioLabs Deutschland <[email protected] >
9
+ *
10
+ * For the full copyright and license information, please view the LICENSE
11
+ * file that was distributed with this source code.
12
+ */
13
+
14
+ namespace Storyblok \Api \Tests \Unit \Resolver ;
15
+
16
+ use OskarStark \Enum \Test \EnumTestCase ;
17
+ use Storyblok \Api \Domain \Value \Resolver \LinkLevel ;
18
+
19
+ final class LinkLevelTest extends EnumTestCase
20
+ {
21
+ protected static function getClass (): string
22
+ {
23
+ return LinkLevel::class;
24
+ }
25
+
26
+ protected static function getNumberOfValues (): int
27
+ {
28
+ return 2 ;
29
+ }
30
+ }
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ declare (strict_types=1 );
4
+
5
+ /**
6
+ * This file is part of Storyblok-Api.
7
+ *
8
+ * (c) SensioLabs Deutschland <[email protected] >
9
+ *
10
+ * For the full copyright and license information, please view the LICENSE
11
+ * file that was distributed with this source code.
12
+ */
13
+
14
+ namespace Storyblok \Api \Tests \Unit \Resolver ;
15
+
16
+ use OskarStark \Enum \Test \EnumTestCase ;
17
+ use Storyblok \Api \Domain \Value \Resolver \LinkType ;
18
+
19
+ final class LinkTypeTest extends EnumTestCase
20
+ {
21
+ protected static function getClass (): string
22
+ {
23
+ return LinkType::class;
24
+ }
25
+
26
+ protected static function getNumberOfValues (): int
27
+ {
28
+ return 3 ;
29
+ }
30
+ }
You can’t perform that action at this time.
0 commit comments