Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
radoslav-tomov authored Jul 14, 2023
1 parent f1e1b4e commit 92b4dd2
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
import org.cloudfoundry.client.v3.securitygroups.ListRunningSecurityGroupsRequest;
import org.cloudfoundry.client.v3.securitygroups.ListStagingSecurityGroupsRequest;
import org.cloudfoundry.util.JobUtils;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import reactor.core.publisher.Mono;
Expand All @@ -53,8 +53,8 @@ public final class SecurityGroupsTest extends AbstractIntegrationTest {
@Autowired
private Mono<String> spaceId;

@BeforeClass
public void settup() {
@Before
void settup() {
this.securityGroupName = this.nameFactory.getSecurityGroupName();

this.cloudFoundryClient.securityGroupsV3()
Expand All @@ -75,8 +75,8 @@ public void settup() {
.verify(Duration.ofMinutes(5));
}

@AfterClass
public void tearDown() {
@After
void tearDown() {
this.cloudFoundryClient.securityGroupsV3().delete(
DeleteSecurityGroupRequest.builder()
.securityGroupId(this.securityGroupId.block())
Expand Down

0 comments on commit 92b4dd2

Please sign in to comment.