@@ -84,4 +84,13 @@ public sealed class DiscordProjectStructureTests
|
||||
"v2.7.0",
|
||||
File.ReadAllText(Path.Combine(repoRoot, "src", "GmRelay.Web", "Components", "Layout", "NavMenu.razor")));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void EnvExample_ShouldContainDiscordBotToken()
|
||||
{
|
||||
var repoRoot = GetRepoRoot();
|
||||
var envExample = File.ReadAllText(Path.Combine(repoRoot, ".env.example"));
|
||||
|
||||
Assert.Contains("DISCORD_BOT_TOKEN", envExample);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user