Skip to content

Commit

Permalink
Fix CI failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
handreyrc committed Mar 12, 2024
1 parent c2b9aa8 commit 7c154e6
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.mockito.Mockito.mock;

@RunWith(MockitoJUnitRunner.class)
public class StunnerThemeTest {
Expand All @@ -39,7 +38,7 @@ public void testDefaultTheme() {

@Test
public void testSetTheme() {
final StunnerColorTheme someTheme = mock(StunnerColorTheme.class);
final StunnerColorTheme someTheme = DefaultTheme.getInstance();
StunnerTheme.setTheme(someTheme);
assertEquals(someTheme, StunnerTheme.getTheme());
}
Expand Down

0 comments on commit 7c154e6

Please sign in to comment.