Skip to content

Commit

Permalink
🧪 disable flacky test - test data needed
Browse files Browse the repository at this point in the history
Signed-off-by: Marcus Fihlon <[email protected]>
  • Loading branch information
McPringle committed Apr 5, 2024
1 parent c9158b9 commit 2b9ac0f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
*/
package swiss.fihlon.apus.service;

import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
Expand All @@ -35,13 +36,13 @@ class ConferenceServiceTest {
private Configuration configuration;

@Test
@Disabled // TODO inject test data instead of relying on an external API
void displaySampleData() {

when(configuration.getDoag()).thenReturn(new DOAG(773));

final ConferenceService conferenceService = new ConferenceService(new NoOpTaskScheduler(), configuration);
assertEquals(12, conferenceService.getRoomsWithSessions().size());
assertEquals(159, conferenceService.getAllSessions().size());
// TODO inject test data instead of relying on an external API
}
}

0 comments on commit 2b9ac0f

Please sign in to comment.