Skip to content

Commit

Permalink
Change used annotations to junit 5
Browse files Browse the repository at this point in the history
  • Loading branch information
markusweigelt committed Dec 6, 2023
1 parent c13253c commit e906c52
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
import java.util.List;

import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.kitodo.api.dataformat.LogicalDivision;
import org.kitodo.api.dataformat.MediaPartialView;
import org.kitodo.api.dataformat.PhysicalDivision;
Expand All @@ -34,7 +34,7 @@ public class MediaPartialPanelTest {
/**
* Initialize test function.
*/
@Before
@BeforeEach
public void initTest() {
DataEditorForm dataEditorForm = mock(DataEditorForm.class);
mediaPartialsPanel = spy(new MediaPartialsPanel(dataEditorForm));
Expand Down

0 comments on commit e906c52

Please sign in to comment.