File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/ServiceManagement/Services/Commands.Test/Websites Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,8 @@ public void SaveAzureWebsiteLogTest()
95
95
96
96
getAzureWebsiteLogCommand . DefaultCurrentPath = AppDomain . CurrentDomain . BaseDirectory ;
97
97
getAzureWebsiteLogCommand . ExecuteCmdlet ( ) ;
98
- Assert . Equal ( "test" , FileUtilities . DataStore . ReadFileAsText ( SaveAzureWebsiteLogCommand . DefaultOutput ) ) ;
98
+ Assert . Equal ( "test" , FileUtilities . DataStore . ReadFileAsText (
99
+ Path . Combine ( AppDomain . CurrentDomain . BaseDirectory , SaveAzureWebsiteLogCommand . DefaultOutput ) ) ) ;
99
100
}
100
101
101
102
[ Fact ]
@@ -155,7 +156,8 @@ public void SaveAzureWebsiteLogWithSlotTest()
155
156
156
157
getAzureWebsiteLogCommand . DefaultCurrentPath = AppDomain . CurrentDomain . BaseDirectory ;
157
158
getAzureWebsiteLogCommand . ExecuteCmdlet ( ) ;
158
- Assert . Equal ( "test" , FileUtilities . DataStore . ReadFileAsText ( SaveAzureWebsiteLogCommand . DefaultOutput ) ) ;
159
+ Assert . Equal ( "test" , FileUtilities . DataStore . ReadFileAsText (
160
+ Path . Combine ( AppDomain . CurrentDomain . BaseDirectory , SaveAzureWebsiteLogCommand . DefaultOutput ) ) ) ;
159
161
}
160
162
}
161
163
}
You can’t perform that action at this time.
0 commit comments