commit 9c25486b4aad0fe73f2ea3a02d3ccd327f82a069
parent 54c70d4c74c2707d9b94315bdef72c0925374407
Author: finwo <finwo@pm.me>
Date: Sun, 27 Sep 2026 20:17:02 +0200
Create the ownership fixture with a url the api will accept
Diffstat:
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
@@ -123,10 +123,12 @@ Testing
```sh
npm test
+npm run build
```
With docker present the suite starts MinIO, an OIDC provider and real task
-containers, and cleans up after itself. See
+containers, and cleans up after itself. `npm run build` compiles the
+frontend, which the test suite does not cover. See
[docs/contributing.md](docs/contributing.md).
License
diff --git a/test/oidc.test.js b/test/oidc.test.js
@@ -315,7 +315,7 @@ test('worker ownership follows the OIDC identity', opts, async () => {
method: 'POST',
url: '/api/v1/projects',
headers: json(bob),
- payload: JSON.stringify({ id: 'bob-proj', repo_url: h.repoDir }),
+ payload: JSON.stringify({ id: 'bob-proj', repo_url: 'https://git.example.com/bob.git' }),
});
assert.equal(project.statusCode, 201, project.body);