Skip to content

Commit 1028519

Browse files
fix test
1 parent a3a206c commit 1028519

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/tasks/disable-import-audit-processor/disable-import-audit-processor.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ describe('Disable Import Audit Processor', () => {
105105
// Check saves were called
106106
expect(mockSite.save.called).to.be.true;
107107
expect(mockConfiguration.save.called).to.be.true;
108-
expect(context.log.info.calledWith('For siteId: test-site-id, Disabled imports and audits')).to.be.true;
108+
expect(context.log.info.calledWith('For site: https://example.com: Disabled imports and audits')).to.be.true;
109109
});
110110

111111
it('should handle site not found error', async () => {
@@ -132,7 +132,7 @@ describe('Disable Import Audit Processor', () => {
132132
await runDisableImportAuditProcessor(message, context);
133133

134134
// Should complete without error
135-
expect(context.log.info.calledWith('For siteId: test-site-id, Disabled imports and audits')).to.be.true;
135+
expect(context.log.info.calledWith('For site: https://example.com: Disabled imports and audits')).to.be.true;
136136
});
137137
});
138138
});

0 commit comments

Comments
 (0)