eventlog: branding events
This commit is contained in:
@@ -43,12 +43,12 @@ describe('Branding', function () {
|
||||
});
|
||||
|
||||
it('can render footer', async function () {
|
||||
await branding.setFooter('BigFoot Inc');
|
||||
await branding.setFooter('BigFoot Inc', auditSource);
|
||||
expect(await branding.renderFooter()).to.be('BigFoot Inc');
|
||||
});
|
||||
|
||||
it('can render footer with YEAR', async function () {
|
||||
await branding.setFooter('BigFoot Inc %YEAR%');
|
||||
await branding.setFooter('BigFoot Inc %YEAR%', auditSource);
|
||||
expect(await branding.renderFooter()).to.be('BigFoot Inc 2024');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user