Skip to content

Commit

Permalink
fix build take 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikEJ committed Dec 27, 2024
1 parent 1e439b5 commit d756474
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/GUI/UnitTests/ResultDeserializerTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public void ParseResultWithError()
// Assert
}

private string ReadAllText(string file)
private static string ReadAllText(string file)
{
return File.ReadAllText(Path.Combine(TestContext.CurrentContext.TestDirectory, file));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ public void CancelEditing_Execute()
ClassicAssert.AreSame(vm.Name, vm.NewName);
}

private ColumnInformationViewModel CreateViewModel()
private static ColumnInformationViewModel CreateViewModel()
{
var messenger = new Mock<IMessenger>();
messenger.SetupAllProperties();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public void PropertyChanged_IsSelected_PartialObjectSelection()
ClassicAssert.IsNull(vm.IsSelected);
}

private TableInformationViewModel CreateTable(string name)
private static TableInformationViewModel CreateTable(string name)
{
var messenger = new Mock<IMessenger>();
messenger.SetupAllProperties();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -276,14 +276,14 @@ public void CancelEditing_Execute()
ClassicAssert.AreSame(vm.Name, vm.NewName);
}

private TableInformationViewModel CreateViewModel()
private static TableInformationViewModel CreateViewModel()
{
var messenger = new Mock<IMessenger>();
messenger.SetupAllProperties();
return new TableInformationViewModel(messenger.Object);
}

private ColumnInformationViewModel CreateColumnViewModel(string name, bool isPrimaryKey = false, bool isForeignKey = false)
private static ColumnInformationViewModel CreateColumnViewModel(string name, bool isPrimaryKey = false, bool isForeignKey = false)
{
var messenger = new Mock<IMessenger>();
messenger.SetupAllProperties();
Expand Down

0 comments on commit d756474

Please sign in to comment.