@@ -22,7 +22,7 @@ protected function setUp(): void
22
22
23
23
public function testVersionStringConstant ()
24
24
{
25
- $ this ->assertSame ('v2 .0 ' , AssetService::HYDEFRONT_VERSION );
25
+ $ this ->assertSame ('v3 .0 ' , AssetService::HYDEFRONT_VERSION );
26
26
}
27
27
28
28
public function testServiceHasVersionString ()
@@ -55,7 +55,7 @@ public function testCanSetCustomCdnUrlInConfig()
55
55
public function testCanUseCustomCdnUrlWithVersion ()
56
56
{
57
57
self ::mockConfig (['hyde.hydefront_url ' => '{{ $version }} ' ]);
58
- $ this ->assertSame ('v2 .0 ' , (new AssetService ())->cdnLink ('' ));
58
+ $ this ->assertSame ('v3 .0 ' , (new AssetService ())->cdnLink ('' ));
59
59
}
60
60
61
61
public function testCanUseCustomCdnUrlWithFile ()
@@ -67,7 +67,7 @@ public function testCanUseCustomCdnUrlWithFile()
67
67
public function testCanUseCustomCdnUrlWithVersionAndFile ()
68
68
{
69
69
self ::mockConfig (['hyde.hydefront_url ' => '{{ $version }}/{{ $file }} ' ]);
70
- $ this ->assertSame ('v2 .0/styles.css ' , (new AssetService ())->cdnLink ('styles.css ' ));
70
+ $ this ->assertSame ('v3 .0/styles.css ' , (new AssetService ())->cdnLink ('styles.css ' ));
71
71
}
72
72
73
73
public function testCanUseCustomCdnUrlWithCustomVersion ()
@@ -82,7 +82,7 @@ public function testCanUseCustomCdnUrlWithCustomVersion()
82
82
public function testCdnLinkHelper ()
83
83
{
84
84
$ this ->assertSame (
85
- 'https://cdn.jsdelivr.net/npm/hydefront@v2 .0/dist/styles.css ' ,
85
+ 'https://cdn.jsdelivr.net/npm/hydefront@v3 .0/dist/styles.css ' ,
86
86
(new AssetService ())->cdnLink ('styles.css ' )
87
87
);
88
88
}
0 commit comments