@@ -69,8 +69,7 @@ void testAssetRemoveHeader() {
69
69
70
70
@ Test
71
71
void testAssetSortAscending () {
72
- AssetLibrary assetLibrary = stack .assetLibrary ();
73
- assetLibrary .sort ("ascending" , AssetLibrary .ORDERBY .ASCENDING );
72
+ AssetLibrary assetLibrary = stack .assetLibrary ().sort ("ascending" , AssetLibrary .ORDERBY .ASCENDING );
74
73
Assertions .assertFalse (assetLibrary .headers .containsKey ("asc" ));
75
74
logger .info ("passed..." );
76
75
}
@@ -85,8 +84,7 @@ void testAssetSortDescending() {
85
84
86
85
@ Test
87
86
void testAssetIncludeCount () {
88
- AssetLibrary assetLibrary = stack .assetLibrary ();
89
- assetLibrary .includeCount ();
87
+ AssetLibrary assetLibrary = stack .assetLibrary ().includeCount ();
90
88
Assertions .assertFalse (assetLibrary .headers .containsKey ("include_count" ));
91
89
logger .info ("passed..." );
92
90
}
@@ -101,16 +99,14 @@ void testAssetIncludeRelativeUrl() {
101
99
102
100
@ Test
103
101
void testAssetGetCount () {
104
- AssetLibrary assetLibrary = stack .assetLibrary ();
105
- assetLibrary .includeRelativeUrl ();
102
+ AssetLibrary assetLibrary = stack .assetLibrary ().includeRelativeUrl ();
106
103
Assertions .assertEquals (0 , assetLibrary .getCount ());
107
104
logger .info ("passed..." );
108
105
}
109
106
110
107
@ Test
111
108
void testIncludeFallback () {
112
- AssetLibrary assetLibrary = stack .assetLibrary ();
113
- assetLibrary .includeFallback ();
109
+ AssetLibrary assetLibrary = stack .assetLibrary ().includeFallback ();
114
110
Assertions .assertFalse (assetLibrary .headers .containsKey ("include_fallback" ));
115
111
logger .info ("passed..." );
116
112
}
0 commit comments