diff --git a/core/db.mjs b/core/db.mjs index c1be18b..8ba0a3f 100644 --- a/core/db.mjs +++ b/core/db.mjs @@ -89,7 +89,6 @@ export default function GetDB(config, log, orgFilename = 'db.json') { defaults(db.data.core[name], { active: '', latestInstalled: '', - latestVersion: '', updater: '', versions: [], }) diff --git a/test/application.test.mjs b/test/application.test.mjs index 14180fe..e0833e5 100644 --- a/test/application.test.mjs +++ b/test/application.test.mjs @@ -42,7 +42,6 @@ t.describe('constructor()', function() { assert.ok(ctx.db.data.core.test.versions) assert.strictEqual(ctx.db.data.core.test.active, '') assert.strictEqual(ctx.db.data.core.test.latestInstalled, '') - assert.strictEqual(ctx.db.data.core.test.latestVersion, '') }) t.test('should keep config and other of itself', function() { diff --git a/test/db.test.mjs b/test/db.test.mjs index 4064746..c44c9dc 100644 --- a/test/db.test.mjs +++ b/test/db.test.mjs @@ -150,7 +150,6 @@ t.test('Should support adding an application with defaults', async function() { assert.ok(db.data.core.app.versions) assert.strictEqual(db.data.core.app.active, '') assert.strictEqual(db.data.core.app.latestInstalled, '') - assert.strictEqual(db.data.core.app.latestVersion, '') assert.notOk(db.data.core.herpderp) @@ -160,7 +159,6 @@ t.test('Should support adding an application with defaults', async function() { assert.ok(db.data.core.herpderp.versions) assert.strictEqual(db.data.core.herpderp.active, '') assert.strictEqual(db.data.core.herpderp.latestInstalled, '') - assert.strictEqual(db.data.core.herpderp.latestVersion, '') }) t.test('Should support reading from db', async function() {