Skip to content

Commit f7b0664

Browse files
authored
Update MessagesApiIntegrationTests.cs
1 parent 87df7ff commit f7b0664

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Assets/Plugins/StreamChat/Tests/LowLevelClient/Integration/MessagesApiIntegrationTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public IEnumerator UploadFile()
176176

177177
//var filename = "pexels-rulo-davila-5380467.mp4"; //32MB
178178
var filename = "SampleVideo_1280x720_1mb.mp4"; //1MB
179-
var videoFilePath = "Assets/Plugins/StreamChat/Tests/SampleFiles/" + filename;
179+
var videoFilePath = Path.Combine("Assets", "Plugins", "StreamChat", "Tests", "SampleFiles", filename);
180180

181181
var videoClip = AssetDatabase.LoadAssetAtPath<VideoClip>(videoFilePath);
182182
Assert.NotNull(videoClip);
@@ -286,7 +286,7 @@ public IEnumerator DeleteFile()
286286

287287
//var filename = "pexels-rulo-davila-5380467.mp4"; //32MB
288288
var filename = "SampleVideo_1280x720_1mb.mp4"; //1MB
289-
var videoFilePath = "Assets/Plugins/StreamChat/Tests/SampleFiles/" + filename;
289+
var videoFilePath = Path.Combine("Assets", "Plugins", "StreamChat", "Tests", "SampleFiles", filename);
290290

291291
var videoClip = AssetDatabase.LoadAssetAtPath<VideoClip>(videoFilePath);
292292
Assert.NotNull(videoClip);
@@ -547,4 +547,4 @@ await LowLevelClient.ChannelApi.UpdateChannelAsync(channelState.Channel.Type, ch
547547
}
548548
}
549549
}
550-
#endif
550+
#endif

0 commit comments

Comments
 (0)