summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--contrib/bruno/environments/sellershut.bru3
-rw-r--r--contrib/bruno/health.bru6
-rw-r--r--contrib/bruno/users/get_user.bru6
-rw-r--r--contrib/bruno/users/webfinger.bru2
4 files changed, 12 insertions, 5 deletions
diff --git a/contrib/bruno/environments/sellershut.bru b/contrib/bruno/environments/sellershut.bru
index f26ca7f..82d0e7c 100644
--- a/contrib/bruno/environments/sellershut.bru
+++ b/contrib/bruno/environments/sellershut.bru
@@ -1,4 +1,3 @@
vars {
- HUT_HOSTNAME: http://localhost
- HUT_PORT: 2210
+ HUT_HOSTNAME: http://localhost:2210
}
diff --git a/contrib/bruno/health.bru b/contrib/bruno/health.bru
index b07520e..24be085 100644
--- a/contrib/bruno/health.bru
+++ b/contrib/bruno/health.bru
@@ -5,7 +5,11 @@ meta {
}
get {
- url: {{HUT_HOSTNAME}}:{{HUT_PORT}}
+ url: {{HUT_HOSTNAME}}
body: none
auth: inherit
}
+
+assert {
+ res.status: eq 200
+}
diff --git a/contrib/bruno/users/get_user.bru b/contrib/bruno/users/get_user.bru
index abc0d88..e62ca6a 100644
--- a/contrib/bruno/users/get_user.bru
+++ b/contrib/bruno/users/get_user.bru
@@ -5,7 +5,11 @@ meta {
}
get {
- url: {{HUT_HOSTNAME}}:{{HUT_PORT}}/users/sellershut
+ url: {{HUT_HOSTNAME}}/users/sellershut
body: none
auth: inherit
}
+
+assert {
+ res.status: eq 200
+}
diff --git a/contrib/bruno/users/webfinger.bru b/contrib/bruno/users/webfinger.bru
index 124415c..ea238f9 100644
--- a/contrib/bruno/users/webfinger.bru
+++ b/contrib/bruno/users/webfinger.bru
@@ -5,7 +5,7 @@ meta {
}
get {
- url: {{HUT_HOSTNAME}}:{{HUT_PORT}}/.well-known/webfinger?resource=acct:sellershut@localhost
+ url: {{HUT_HOSTNAME}}/.well-known/webfinger?resource=acct:sellershut@localhost
body: none
auth: inherit
}