Skip to content

Commit

Permalink
Use Junit version 4 instead of 5 in test
Browse files Browse the repository at this point in the history
  • Loading branch information
solth committed Jul 18, 2024
1 parent d40c2fd commit 786ae8e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@

package org.kitodo.production.services.data;

import static org.junit.jupiter.api.Assertions.assertEquals;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import org.junit.Assert;
import org.junit.Test;
import org.junit.jupiter.api.Test;
import org.kitodo.production.dto.ProcessDTO;
import org.kitodo.production.dto.ProjectDTO;

Expand Down Expand Up @@ -51,7 +52,6 @@ public void shouldSortProcessesWithProvidedProjectIdFirst() {

int projectIdOfFirstProcess = sortedProcesses.get(0).getProject().getId();

Assert.assertEquals("Process not sorted based on provided projectId",9,
projectIdOfFirstProcess);
assertEquals(9, projectIdOfFirstProcess, "Process not sorted based on provided projectId");
}
}

0 comments on commit 786ae8e

Please sign in to comment.