Skip to content

Commit c944e19

Browse files
Fix tests
1 parent 27f22ae commit c944e19

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/Unit/Asset/AssetTestCase.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,35 +131,35 @@ protected static function assertImageUrl(
131131
/**
132132
* @param $expectedPath
133133
* @param $actualUrl
134-
* @param null $message
134+
* @param string $message
135135
* @param string $customDeliveryType
136136
*/
137137
protected static function assertVideoUrl(
138138
$expectedPath,
139139
$actualUrl,
140-
$message = null,
140+
$message = '',
141141
$customDeliveryType = DeliveryType::UPLOAD
142142
) {
143143
$expectedPath = AssetType::VIDEO . "/$customDeliveryType/$expectedPath";
144144

145-
self::assertAssetUrl($expectedPath, $actualUrl, $message);
145+
self::assertAssetUrl($expectedPath, $actualUrl, ['message' => $message]);
146146
}
147147

148148
/**
149149
* @param $expectedPath
150150
* @param $actualUrl
151-
* @param null $message
151+
* @param string $message
152152
* @param string $customDeliveryType
153153
*/
154154
protected static function assertFileUrl(
155155
$expectedPath,
156156
$actualUrl,
157-
$message = null,
157+
$message = '',
158158
$customDeliveryType = DeliveryType::UPLOAD
159159
) {
160160
$expectedPath = AssetType::RAW . "/$customDeliveryType/$expectedPath";
161161

162-
self::assertAssetUrl($expectedPath, $actualUrl, $message);
162+
self::assertAssetUrl($expectedPath, $actualUrl, ['message' => $message]);
163163
}
164164

165165
/**

0 commit comments

Comments
 (0)