Patch test

This commit is contained in:
Sam Lord 2022-04-13 17:36:48 +01:00
parent 455778662c
commit b3595efa86

View File

@ -223,7 +223,7 @@ describe('Email verification flow', function () {
eventStub.callCount.should.eql(1);
eventStub.lastCall.lastArg.should.have.property('data.source');
eventStub.lastCall.lastArg.should.have.property('data.created_at');
eventStub.lastCall.lastArg['data.source'].should.eql(`data.source:'admin'`);
eventStub.lastCall.lastArg['data.source'].should.eql(`data.source:'import'`);
eventStub.lastCall.lastArg['data.created_at'].should.startWith(`data.created_at:>'`);
emailStub.callCount.should.eql(1);