mirror of
https://github.com/outline/outline.git
synced 2026-11-28 08:14:58 +03:00
Test draft documents
This commit is contained in:
1 parent
bc00fd6f45
commit
ec3a8ca4e0
1 file changed
+2
-1
@@ -7,6 +7,7 @@ import {
|
||||
buildSubscription,
|
||||
buildDocument,
|
||||
buildCollection,
|
||||
buildDraftDocument,
|
||||
} from "@server/test/factories";
|
||||
import { getTestServer } from "@server/test/support";
|
||||
|
||||
@@ -709,7 +710,7 @@ describe("#subscriptions.delete", () => {
|
||||
describe("GET", () => {
|
||||
it("should delete user's document subscription", async () => {
|
||||
const user = await buildUser();
|
||||
const document = await buildDocument({
|
||||
const document = await buildDraftDocument({
|
||||
userId: user.id,
|
||||
teamId: user.teamId,
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user