You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by bt...@apache.org on 2021/03/15 09:54:11 UTC
[james-project] 23/32: JAMES-3502, fix indent in tests
This is an automated email from the ASF dual-hosted git repository.
btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git
commit ad3d344090d9f876d2e98f5eb195dcc37e9baeef
Author: andreasvaldma <andreas.valdmanortal.com>
AuthorDate: Thu Mar 11 10:53:46 2021 +0200
JAMES-3502, fix indent in tests
---
.../james/webadmin/routes/UserQuotaRoutesTest.java | 26 +++++++++++-----------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/server/protocols/webadmin/webadmin-mailbox/src/test/java/org/apache/james/webadmin/routes/UserQuotaRoutesTest.java b/server/protocols/webadmin/webadmin-mailbox/src/test/java/org/apache/james/webadmin/routes/UserQuotaRoutesTest.java
index d936a14..699d285 100644
--- a/server/protocols/webadmin/webadmin-mailbox/src/test/java/org/apache/james/webadmin/routes/UserQuotaRoutesTest.java
+++ b/server/protocols/webadmin/webadmin-mailbox/src/test/java/org/apache/james/webadmin/routes/UserQuotaRoutesTest.java
@@ -120,7 +120,7 @@ class UserQuotaRoutesTest {
.untilAsserted(() -> {
given()
.get("/quota/users")
- .then()
+ .then()
.statusCode(HttpStatus.OK_200)
.contentType(ContentType.JSON)
.body("username", containsInAnyOrder(
@@ -142,9 +142,9 @@ class UserQuotaRoutesTest {
.untilAsserted(() -> {
given()
.param("domain", LOST_LOCAL)
- .when()
+ .when()
.get("/quota/users")
- .then()
+ .then()
.statusCode(HttpStatus.OK_200)
.contentType(ContentType.JSON)
.body("username", containsInAnyOrder(
@@ -165,9 +165,9 @@ class UserQuotaRoutesTest {
.untilAsserted(() -> {
given()
.param("limit", 2)
- .when()
+ .when()
.get("/quota/users")
- .then()
+ .then()
.statusCode(HttpStatus.OK_200)
.contentType(ContentType.JSON)
.body("username", containsInAnyOrder(
@@ -188,9 +188,9 @@ class UserQuotaRoutesTest {
.untilAsserted(() -> {
given()
.param("offset", 1)
- .when()
+ .when()
.get("/quota/users")
- .then()
+ .then()
.statusCode(HttpStatus.OK_200)
.contentType(ContentType.JSON)
.body("username", containsInAnyOrder(
@@ -214,9 +214,9 @@ class UserQuotaRoutesTest {
.untilAsserted(() -> {
given()
.param("minOccupationRatio", 0.5)
- .when()
+ .when()
.get("/quota/users")
- .then()
+ .then()
.statusCode(HttpStatus.OK_200)
.contentType(ContentType.JSON)
.body("username", containsInAnyOrder(
@@ -240,9 +240,9 @@ class UserQuotaRoutesTest {
.untilAsserted(() -> {
given()
.param("maxOccupationRatio", 0.5)
- .when()
+ .when()
.get("/quota/users")
- .then()
+ .then()
.statusCode(HttpStatus.OK_200)
.contentType(ContentType.JSON)
.body("username", containsInAnyOrder(
@@ -266,7 +266,7 @@ class UserQuotaRoutesTest {
.untilAsserted(() -> {
given()
.get("/quota/users")
- .then()
+ .then()
.statusCode(HttpStatus.OK_200)
.contentType(ContentType.JSON)
.body("username", contains(
@@ -435,7 +435,7 @@ class UserQuotaRoutesTest {
with()
.param("minOccupationRatio", 0.5)
.get("/quota/users")
- .then()
+ .then()
.statusCode(HttpStatus.OK_200)
.extract()
.body()
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org