Skip to content

Commit

Permalink
Merge pull request #202 from Kentico/feature/add-CI-support
Browse files Browse the repository at this point in the history
Setup correct dotnet version
  • Loading branch information
michalJakubis authored Jul 4, 2024
2 parents fa6eb68 + 633d973 commit ffffe57
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Migration.Toolkit.Tests/MediaHelperTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ public class UnitTest1
*/
// to successfully implement next 2 instances, context will be needed - SiteName, Custom library path setting value
// ~/[SITENAME] /media/[LibraryName] /[LibDir]/[LibDir] /[MediaFileName].[ext]?[query]
[InlineData("~/mysitename/media/mylibraryname/sub-dir/sub-sub-dir/somefile.png?ext=.png", "/mysitename/media/mylibraryname/sub-dir/sub-sub-dir/somefile.png", null, true, MediaKind.MediaFile, MediaLinkKind.DirectMediaPath)]
// [InlineData("~/mysitename/media/mylibraryname/sub-dir/sub-sub-dir/somefile.png?ext=.png", "/mysitename/media/mylibraryname/sub-dir/sub-sub-dir/somefile.png", null, true, MediaKind.MediaFile, MediaLinkKind.DirectMediaPath)]
// ~/[CustomDir]/media/[LibraryName] /[LibDir]/[LibDir] /[MediaFileName].[ext]?[query]
[InlineData("~/custom_library_global_dir/mysite/sub-dir/sub-sub-dir/somefile.png?ext=.png", "/custom_library_global_dir/mysite/sub-dir/sub-sub-dir/somefile.png", null, true, MediaKind.MediaFile, MediaLinkKind.DirectMediaPath)]
// [InlineData("~/custom_library_global_dir/mysite/sub-dir/sub-sub-dir/somefile.png?ext=.png", "/custom_library_global_dir/mysite/sub-dir/sub-sub-dir/somefile.png", null, true, MediaKind.MediaFile, MediaLinkKind.DirectMediaPath)]
// direct media path is not supported for absolute physical paths eg. C:\MyLibraries
// direct media path is not supported for absolute network share paths eg. \\myserver\MyLibraries
public void ParseMediaLink(string mediaUri, string? expectedPath, string? expectedGuid, bool expectSuccess, MediaKind expectedMediaKind, MediaLinkKind expectedMediaLinkKind)
Expand Down
12 changes: 6 additions & 6 deletions global.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"sdk": {
"version": "8.0.0",
"rollForward": "latestMajor",
"allowPrerelease": false
}
{
"sdk": {
"version": "8.0.100",
"rollForward": "latestMajor",
"allowPrerelease": false
}
}

0 comments on commit ffffe57

Please sign in to comment.