Skip to content

Autonomous development for real products. Governed agents build from specs you approve, follow the rules you set, and nothing merges until another agent proves it. Your decisions, judgement and taste are the bar that work must clear. Declare your vision and let agents build it.

test(relay): expect machine creation status [H5,H17]

Corey Olson8978243837d6
diff --git a/test/relay-device-http.test.js b/test/relay-device-http.test.js
index 9603cf31..ad7a566e 100644
--- a/test/relay-device-http.test.js
+++ b/test/relay-device-http.test.js
@@ -60,7 +60,7 @@ test('excluded inventories keep names sealed, isolate accounts and refuse revoke
origin: box.origin, body: { board, repository: 'fixture/repository' } })).response.status, 200);
const issued = await deviceRequest(box, '/auth/machines', { method: 'POST', cookie: owner,
origin: box.origin, body: { board, machine } });
- assert.equal(issued.response.status, 200);
+ assert.equal(issued.response.status, 201);
const token = issued.document.token;
assert.equal((await deviceRequest(box, path, { method: 'POST', token, engine: ENGINE_VERSION, body })).response.status, 200,
'the enrolled machine can publish immediately without a retained person session');