Skip to content

Commit

Permalink
refactor: move DisabledIfEnvironmentVariable to the class level in Ba…
Browse files Browse the repository at this point in the history
…sicSentinelTest
  • Loading branch information
bsbodden committed Jun 10, 2024
1 parent 15db007 commit 3654f7f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;

@DisabledIfEnvironmentVariable(named = "GITHUB_ACTIONS", matches = "true")
class BasicSentinelTest extends AbstractBaseDocumentSentinelTest {
@Autowired
CompanyRepository repository;

@Test
@DisabledIfEnvironmentVariable(named = "GITHUB_ACTIONS", matches = "true")

void testBasicCrudOperations() {
Company redis = Company.of("RedisInc", 2011, LocalDate.of(2021, 5, 1), new Point(-122.066540, 37.377690),
"[email protected]");
Expand Down

0 comments on commit 3654f7f

Please sign in to comment.