Permalink
Browse files

Delete unwanted default docs during site reuse

  • Loading branch information...
1 parent 4c36cca commit f92f6eeab25b21440ce0124516c816ff14b8ad42 @davidebbo davidebbo committed Dec 3, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 Kudu.TestHarness/ApplicationManager.cs
@@ -125,6 +125,9 @@ public static void Run(string applicationName, Action<ApplicationManager> action
appManager.RepositoryManager.Delete().Wait();
// Make sure we start with the correct default file as some tests expect it
+ // Note that ideally we'd wipe out the entire wwwroot, but it's slightly non trivial over Vfs
+ appManager.VfsWebRootManager.Delete("default.htm");
+ appManager.VfsWebRootManager.Delete("index.htm");
appManager.VfsWebRootManager.WriteAllText("index.html", "<h1>The web site is under construction</h1>");
}

0 comments on commit f92f6ee

Please sign in to comment.