internal: incomplete vault systems behind feature flag (#2340)

This commit is contained in:
Mo
2023-06-30 09:01:56 -05:00
committed by GitHub
parent d16e401bb9
commit b032eb9c9b
638 changed files with 20321 additions and 4813 deletions

View File

@@ -170,10 +170,7 @@ describe('actions service', () => {
})
// Extension item
const extensionItem = await this.application.itemManager.createItem(
ContentType.ActionsExtension,
this.actionsExtension,
)
const extensionItem = await this.application.mutator.createItem(ContentType.ActionsExtension, this.actionsExtension)
this.extensionItemUuid = extensionItem.uuid
})
@@ -185,7 +182,7 @@ describe('actions service', () => {
})
it('should get extension items', async function () {
await this.itemManager.createItem(ContentType.Note, {
await this.application.mutator.createItem(ContentType.Note, {
title: 'A simple note',
text: 'Standard Notes rocks! lml.',
})
@@ -194,7 +191,7 @@ describe('actions service', () => {
})
it('should get extensions in context of item', async function () {
const noteItem = await this.itemManager.createItem(ContentType.Note, {
const noteItem = await this.application.mutator.createItem(ContentType.Note, {
title: 'Another note',
text: 'Whiskey In The Jar',
})
@@ -205,7 +202,7 @@ describe('actions service', () => {
})
it('should get actions based on item context', async function () {
const tagItem = await this.itemManager.createItem(ContentType.Tag, {
const tagItem = await this.application.mutator.createItem(ContentType.Tag, {
title: 'Music',
})
@@ -217,7 +214,7 @@ describe('actions service', () => {
})
it('should load extension in context of item', async function () {
const noteItem = await this.itemManager.createItem(ContentType.Note, {
const noteItem = await this.application.mutator.createItem(ContentType.Note, {
title: 'Yet another note',
text: 'And all things will end ♫',
})
@@ -249,7 +246,7 @@ describe('actions service', () => {
const sandbox = sinon.createSandbox()
before(async function () {
this.noteItem = await this.itemManager.createItem(ContentType.Note, {
this.noteItem = await this.application.mutator.createItem(ContentType.Note, {
title: 'Hey',
text: 'Welcome To Paradise',
})
@@ -331,7 +328,7 @@ describe('actions service', () => {
const sandbox = sinon.createSandbox()
before(async function () {
this.noteItem = await this.itemManager.createItem(ContentType.Note, {
this.noteItem = await this.application.mutator.createItem(ContentType.Note, {
title: 'Excuse Me',
text: 'Time To Be King 8)',
})