Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
Closes #63
  • Loading branch information
geir-eilertsen committed Dec 26, 2024
1 parent 4b6f61f commit 38c9c39
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import com.assetvisor.marvin.robot.domain.environment.ForGettingEnvironmentDescriptions;
import com.assetvisor.marvin.robot.domain.environment.ForPersistingEnvironmentDescriptions;
import java.util.List;
import java.util.UUID;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.ArgumentCaptor;
Expand All @@ -31,9 +32,9 @@ public class TeacherTest {
@Test
public void shouldTeachBrain() {
// Given
EnvironmentDescription environmentDescription1 = new EnvironmentDescription("description1");
EnvironmentDescription environmentDescription2 = new EnvironmentDescription("description2");
EnvironmentDescription environmentDescription3 = new EnvironmentDescription("description3");
EnvironmentDescription environmentDescription1 = new EnvironmentDescription(UUID.randomUUID().toString(), "description1");
EnvironmentDescription environmentDescription2 = new EnvironmentDescription(UUID.randomUUID().toString(), "description2");
EnvironmentDescription environmentDescription3 = new EnvironmentDescription(UUID.randomUUID().toString(), "description3");
List<EnvironmentDescription> environmentDescriptionList = List.of(environmentDescription1, environmentDescription2, environmentDescription3);

given(forPersistingEnvironmentDescriptions.all()).willReturn(List.of(environmentDescription1, environmentDescription2));
Expand Down

0 comments on commit 38c9c39

Please sign in to comment.