From 5fa36d9ea426f6f3dffc31cce8a55821e9ead5bf Mon Sep 17 00:00:00 2001
From: alex <alex@alexloehr.net>
Date: Mon, 17 Nov 2025 17:39:17 +0000
Subject: [PATCH] GS-2373

---
 settings.prod.json  |    1 +
 settings.test.json  |    1 +
 test/testConnect.js |    4 ++--
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/settings.prod.json b/settings.prod.json
index 6ece236..c3fa314 100644
--- a/settings.prod.json
+++ b/settings.prod.json
@@ -1,6 +1,7 @@
 {
    "authtoken": "jiuGfr432898D90290kj4f45ldkfn3hh8F",
    "port": 4101,
+   "restUrl": "https://www.lernen-mit-globus-baumarkt.de/popcorn",
    "db": {
       "host": "localhost",
       "port": 3306,
diff --git a/settings.test.json b/settings.test.json
index 8b11d83..468823b 100644
--- a/settings.test.json
+++ b/settings.test.json
@@ -1,6 +1,7 @@
 {
    "authtoken": "jiuGfr432898D90290kjfsldkfn3hh8F",
    "port": 4101,
+   "restUrl": "https://globusfm-dev2.minervis.com/popcorn",
    "db": {
       "host": "localhost",
       "port": 3306,
diff --git a/test/testConnect.js b/test/testConnect.js
index 8102de0..651de44 100644
--- a/test/testConnect.js
+++ b/test/testConnect.js
@@ -84,12 +84,12 @@
          expect(data).to.have.property("version")
          expect(data.version).to.be.a("string")
       })
-      it("should not be accessible without TOKEN", async function () {
+      it("should not be accessible without a TOKEN", async function () {
          const urlR = `${settings.restUrl}/api/user?offset=0&limit=1`
          const res = await fetch(urlR)
          expect(res.status).to.equal(403)
       })
-      it("should be accessible with TOKEN", async function () {
+      it("should be accessible with a TOKEN", async function () {
          const urlR = `${settings.restUrl}/api/user?offset=0&limit=1&token=${settings.authtoken}`
          const res = await fetch(urlR)
          expect(res.status).to.equal(200)

--
Gitblit v1.8.0