summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorrtkay123 <dev@kanjala.com>2025-07-16 14:06:30 +0200
committerrtkay123 <dev@kanjala.com>2025-07-16 14:06:30 +0200
commitc2ca0fae98c535dccb52d9ab949e1e534a9078a3 (patch)
tree5011dec4b140e72e33a208a22001bf92e424a0eb /contrib
parentea71fa9d9cc136bd3eec5ecb58a592282697531b (diff)
downloadsellershut-c2ca0fae98c535dccb52d9ab949e1e534a9078a3.tar.bz2
sellershut-c2ca0fae98c535dccb52d9ab949e1e534a9078a3.zip
test(bruno): env
Diffstat (limited to 'contrib')
-rw-r--r--contrib/bruno/environments/sellershut.bru4
-rw-r--r--contrib/bruno/health.bru2
-rw-r--r--contrib/bruno/users/get_user.bru2
-rw-r--r--contrib/bruno/users/webfinger.bru2
4 files changed, 7 insertions, 3 deletions
diff --git a/contrib/bruno/environments/sellershut.bru b/contrib/bruno/environments/sellershut.bru
new file mode 100644
index 0000000..f26ca7f
--- /dev/null
+++ b/contrib/bruno/environments/sellershut.bru
@@ -0,0 +1,4 @@
+vars {
+ HUT_HOSTNAME: http://localhost
+ HUT_PORT: 2210
+}
diff --git a/contrib/bruno/health.bru b/contrib/bruno/health.bru
index 44c5410..b07520e 100644
--- a/contrib/bruno/health.bru
+++ b/contrib/bruno/health.bru
@@ -5,7 +5,7 @@ meta {
}
get {
- url: http://localhost:3000
+ url: {{HUT_HOSTNAME}}:{{HUT_PORT}}
body: none
auth: inherit
}
diff --git a/contrib/bruno/users/get_user.bru b/contrib/bruno/users/get_user.bru
index 3981d48..abc0d88 100644
--- a/contrib/bruno/users/get_user.bru
+++ b/contrib/bruno/users/get_user.bru
@@ -5,7 +5,7 @@ meta {
}
get {
- url: http://localhost:3000/users/sellershut
+ url: {{HUT_HOSTNAME}}:{{HUT_PORT}}/users/sellershut
body: none
auth: inherit
}
diff --git a/contrib/bruno/users/webfinger.bru b/contrib/bruno/users/webfinger.bru
index 14acaab..124415c 100644
--- a/contrib/bruno/users/webfinger.bru
+++ b/contrib/bruno/users/webfinger.bru
@@ -5,7 +5,7 @@ meta {
}
get {
- url: http://localhost:3000/.well-known/webfinger?resource=acct:sellershut@localhost
+ url: {{HUT_HOSTNAME}}:{{HUT_PORT}}/.well-known/webfinger?resource=acct:sellershut@localhost
body: none
auth: inherit
}