Skip to content

Commit

Permalink
refactor: fix breaking test
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Jan 12, 2020
1 parent b604001 commit 1029bb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/database/database.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ test.group('Database', (group) => {
const db = new Database(config, getLogger(), getProfiler())

assert.isDefined(db.manager.connections.get('primary'))
assert.equal(db.manager.connections.get('primary')!.state, 'idle')
assert.equal(db.manager.connections.get('primary')!.state, 'registered')
assert.isUndefined(db.manager.connections.get('primary')!.connection)
})

Expand Down

0 comments on commit 1029bb2

Please sign in to comment.