Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Commit

Permalink
chore(sonar): don't use java 9 language
Browse files Browse the repository at this point in the history
  • Loading branch information
oliemansm committed May 15, 2021
1 parent 5bc98a4 commit c91cf9d
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.security.reactive.ReactiveSecurityAutoConfiguration;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.context.annotation.Import;
Expand All @@ -21,7 +21,9 @@

@ExtendWith(SpringExtension.class)
@Import(PermitAllWebSecurity.class)
@SpringBootTest(classes = {VoyagerAutoConfiguration.class, ReactiveSecurityAutoConfiguration.class})
@SpringBootTest(
classes = {VoyagerAutoConfiguration.class, SecurityAutoConfiguration.class},
properties = {"spring.main.web-application-type=servlet"})
@AutoConfigureMockMvc
@ActiveProfiles("voyager")
class VoyagerWithCsrfTest {
Expand Down

0 comments on commit c91cf9d

Please sign in to comment.