Skip to content

Commit

Permalink
Update CompleteGraphBuilderPluginNGTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Quasar985 committed Feb 25, 2025
1 parent 61f2438 commit f1b31e7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
import static org.mockito.Mockito.when;
import org.testfx.api.FxToolkit;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertFalse;
import static org.testng.Assert.assertTrue;
import org.testng.annotations.AfterClass;
import org.testng.annotations.AfterMethod;
Expand Down Expand Up @@ -154,7 +155,7 @@ public void testShowWarning() {

final CompleteGraphBuilderPlugin instance = new CompleteGraphBuilderPlugin();
// Run function, expect default answer of false (user did not click OK)
assertTrue(instance.showWarning(0L, false));
assertFalse(instance.showWarning(0L, false));
}

/**
Expand Down

0 comments on commit f1b31e7

Please sign in to comment.