PEP-197: тест product под новые поля
This commit is contained in:
parent
218f35af86
commit
e29e95e13f
@ -17,7 +17,7 @@ describe("PEP-111: the project's product", () => {
|
||||
test("nothing deployed: no versions, only the count of accepted stories", async () => {
|
||||
const p = await proj();
|
||||
const t = await core.createTask(db, { projectId: p.id, title: "Первая" });
|
||||
assert.deepEqual(await core.projectProduct(db, p.id), { live: null, check: null, doneStories: 0, fix: null, broken: false, preparing: false, shot: null });
|
||||
assert.deepEqual(await core.projectProduct(db, p.id), { live: null, check: null, doneStories: 0, fix: null, broken: false, preparing: false, shot: null, versionDone: false, proposed: 0 });
|
||||
await core.updateTask(db, t, { status: "done" });
|
||||
assert.equal((await core.projectProduct(db, p.id)).doneStories, 1);
|
||||
assert.equal((await core.productUrls(db, [p.id])).size, 0);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user