Actually implement the config test, dear god.

This commit is contained in:
Dominion
2023-04-02 12:54:48 -04:00
parent a5a8f9a2ab
commit b869d9f499
@@ -87,6 +87,14 @@ namespace Tgstation.Server.Tests.Instance
var tmp = (TestDir.Path?.StartsWith('/') ?? false) ? '.' + TestDir.Path : TestDir.Path;
var path = Path.Combine(instance.Path, "Configuration", tmp);
Assert.IsFalse(Directory.Exists(path));
// leave a directory there to test the deployment process
var staticDir = new ConfigurationFileRequest
{
Path = "/GameStaticFiles/data"
};
await configurationClient.CreateDirectory(staticDir, cancellationToken);
}
public async Task Run(CancellationToken cancellationToken)