Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
marcos-lg committed Apr 9, 2024
1 parent c3395a7 commit df02191
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@

import javax.validation.ConstraintViolationException;

import org.gbif.vocabulary.persistence.mappers.VocabularyReleaseMapper;

import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.mock.mockito.MockBean;
Expand All @@ -45,6 +47,9 @@ public class VocabularyServiceTest extends VocabularyEntityServiceBaseTest<Vocab
@MockBean(name = "conceptMapper")
private ConceptMapper conceptMapper;

@MockBean(name = "vocabularyReleaseMapper")
private VocabularyReleaseMapper vocabularyReleaseMapper;

@WithMockUser(authorities = UserRoles.VOCABULARY_ADMIN)
@Test
public void createTest() {
Expand Down

0 comments on commit df02191

Please sign in to comment.