Skip to content

Commit

Permalink
Unit test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Noggog committed Jun 30, 2023
1 parent bba3c34 commit 2996598
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using CommandLine;
using FluentAssertions;
using Mutagen.Bethesda;
using Synthesis.Bethesda.Commands;
using Synthesis.Bethesda.Execution.Utility;
using Synthesis.Bethesda.UnitTests.AutoData;
using Xunit;
Expand Down Expand Up @@ -31,11 +32,10 @@ public void FormatsBasicCommand(FormatCommandLine sut)
[Theory, SynthAutoData]
public void EnumRequiredButDefault(FormatCommandLine sut)
{
var format = sut.Format(new ArgClass()
var format = sut.Format(new RunSynthesisPatcher()
{
Setting = "Hello World",
Release = default
GameRelease = default
});
format.Should().Be("test-command --Release Oblivion --Setting \"Hello World\"");
format.Should().Be("run-patcher --LoadOrderIncludesCreationClub --TargetLanguage English --GameRelease Oblivion");
}
}

0 comments on commit 2996598

Please sign in to comment.