refactor event names

This commit is contained in:
Ulf Gebhardt 2023-02-13 13:36:06 +01:00
parent 5ffa2a4d8e
commit 31168c3aff
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -334,7 +334,7 @@ describe('send coins', () => {
)
})
it('stores the send transaction event in the database', async () => {
it('stores the TRANSACTION_SEND event in the database', async () => {
// Find the exact transaction (sent one is the one with user[1] as user)
const transaction = await Transaction.find({
userId: user[1].id,
@ -351,7 +351,7 @@ describe('send coins', () => {
)
})
it('stores the receive event in the database', async () => {
it('stores the TRANSACTION_RECEIVE event in the database', async () => {
// Find the exact transaction (received one is the one with user[0] as user)
const transaction = await Transaction.find({
userId: user[0].id,