Skip to content

Commit

Permalink
fixed JUnit test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
The-AhmadAA committed Oct 14, 2023
1 parent 5b7dd16 commit bbc58df
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,10 @@ public static Entity createPauseMenu(GdxGame game) {

Entity pauseMenu = new Entity()
.addComponent(new PauseMenuTimeStopComponent())
<<<<<<< Updated upstream
.addComponent(new PauseMenuContinueButton())
.addComponent(new PauseMenuSettingsButton(game))
.addComponent(new PauseMenuPlanetSelectButton(game))
.addComponent(new PauseMenuMainMenuButton(game))
.addComponent(new TextureRenderComponent("images/ui/Sprites/UI_Glass_Toggle_Bar_01a.png"));
=======
.addComponent(new PauseMenuButtonComponent(game));
>>>>>>> Stashed changes
.addComponent(new PauseMenuMainMenuButton(game));
pauseMenu.setScale(8, 8);
pauseMenu.setPosition(6.3f, 2f);
ServiceLocator.getEntityService().register(pauseMenu);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ void entityHasRequiredComponents() {
assertNotNull(entity.getComponent(PauseMenuSettingsButton.class));
assertNotNull(entity.getComponent(PauseMenuPlanetSelectButton.class));
assertNotNull(entity.getComponent(PauseMenuMainMenuButton.class));
assertNotNull(entity.getComponent(TextureRenderComponent.class));
}

@Test
Expand Down

0 comments on commit bbc58df

Please sign in to comment.