File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,9 @@ import (
1111func TestGetAllCustomPaths (t * testing.T ) {
1212 os .Setenv ("GHS_CUSTOM_PATH_images/digilex-infordoc-images" , "https://storage.gra.cloud.ovh.net/v1/AUTH_ed33ec9e34c64b54aca49d6fcb6dc4c8/infordoc-img" )
1313 os .Setenv ("GHS_CUSTOM_REWRITE_images/digilex-infordoc-images" , "" )
14- os .Setenv ("GHS_CUSTOM_PATH_images.digilex-infordoc-images-1" , "https://storage.gra.cloud.ovh.net/v1/AUTH_ed33ec9e34c64b54aca49d6fcb6dc4c8/img" )
15- os .Setenv ("GHS_CUSTOM_PATH_/images/digilex-infordoc-images-2" , "https://storage.gra.cloud.ovh.net/v1/AUTH_ed33ec9e34c64b54aca49d6fcb6dc4c8/infordoc" )
14+ os .Setenv ("GHS_CUSTOM_PATH_images.digilex-infordoc/1" , "https://storage.gra.cloud.ovh.net/v1/AUTH_ed33ec9e34c64b54aca49d6fcb6dc4c8/img" )
15+ os .Setenv ("GHS_CUSTOM_PATH_/images/digilex-infordoc-img" , "https://storage.gra.cloud.ovh.net/v1/AUTH_ed33ec9e34c64b54aca49d6fcb6dc4c8/infordoc" )
16+
1617 result := GetCustomPathsInstance ()
1718
1819 assert .True (t , len (* result ) == 3 )
You can’t perform that action at this time.
0 commit comments