Skip to content

Commit d7fac5b

Browse files
running mvn spotless:apply and removed unnecessary properties
1 parent 0db8b78 commit d7fac5b

File tree

2 files changed

+17
-26
lines changed

2 files changed

+17
-26
lines changed

integration-test/src/test/java/org/cloudfoundry/NameFactory.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ public interface NameFactory {
4343

4444
String ORGANIZATION_PREFIX = "test-organization-";
4545

46-
String ORGANIZATION_QUOTA_PREFIX = "test-organization-quota-definition-";
47-
4846
String PASSWORD_PREFIX = "test-password-";
4947

5048
String PATH_PREFIX = "/test-path-";
@@ -191,15 +189,6 @@ default String getOrganizationName() {
191189
return getName(ORGANIZATION_PREFIX);
192190
}
193191

194-
/**
195-
* Creates an organization quota name
196-
*
197-
* @return the organization quota name
198-
*/
199-
default String getOrganizationQuotaName() {
200-
return getName(ORGANIZATION_QUOTA_PREFIX);
201-
}
202-
203192
/**
204193
* Creates a password
205194
*

integration-test/src/test/java/org/cloudfoundry/client/v3/SpaceQuotaDefinitionsTest.java

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,14 @@ public void create() {
6666
SpaceQuotaDefinitionRelationships spaceQuotaDefinitionRelationships =
6767
createSpaceQuotaDefinitionRelationships(organizationId);
6868

69-
Apps spaceQuotaAppLimits = Apps.builder()
70-
.perProcessMemoryInMb(1024)
71-
.totalMemoryInMb(2048)
72-
.logRateLimitInBytesPerSecond(0)
73-
.build();
74-
Services spaceQuotaServiceLimits = Services.builder().isPaidServicesAllowed(false).totalServiceInstances(10).build();
69+
Apps spaceQuotaAppLimits =
70+
Apps.builder()
71+
.perProcessMemoryInMb(1024)
72+
.totalMemoryInMb(2048)
73+
.logRateLimitInBytesPerSecond(0)
74+
.build();
75+
Services spaceQuotaServiceLimits =
76+
Services.builder().isPaidServicesAllowed(false).totalServiceInstances(10).build();
7577
Routes spaceQuotaRouteLimits = Routes.builder().totalRoutes(10).build();
7678

7779
this.cloudFoundryClient
@@ -178,19 +180,19 @@ public void update() {
178180
.consumeNextWith(
179181
organizationQuotaDefinitionResource -> {
180182
assertThat(
181-
organizationQuotaDefinitionResource
182-
.getApps()
183-
.getTotalMemoryInMb())
183+
organizationQuotaDefinitionResource
184+
.getApps()
185+
.getTotalMemoryInMb())
184186
.isEqualTo(totalMemoryLimit);
185187
assertThat(
186-
organizationQuotaDefinitionResource
187-
.getRoutes()
188-
.getTotalRoutes())
188+
organizationQuotaDefinitionResource
189+
.getRoutes()
190+
.getTotalRoutes())
189191
.isEqualTo(100);
190192
assertThat(
191-
organizationQuotaDefinitionResource
192-
.getServices()
193-
.getTotalServiceInstances())
193+
organizationQuotaDefinitionResource
194+
.getServices()
195+
.getTotalServiceInstances())
194196
.isEqualTo(100);
195197
})
196198
.expectComplete()

0 commit comments

Comments
 (0)