Skip to content

Commit

Permalink
test/purge: fix typos in test names (#1176)
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndrsn authored Sep 4, 2024
1 parent f5e8f6e commit 25f3b0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/task/purge.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ describe('task: purge deleted forms', () => {
});

describe('with xmlFormId', () => {
it('should thow error if xmlFormId specified without projectId', testTask(async ({ Forms }) => {
it('should throw error if xmlFormId specified without projectId', testTask(async ({ Forms }) => {
const form = await Forms.getByProjectAndXmlFormId(1, 'simple');
await Forms.del(form.get());
await assert.throws(() => { purgeForms(true, null, null, 'simple'); }, (err) => {
Expand Down Expand Up @@ -179,7 +179,7 @@ describe('task: purge deleted forms', () => {
count.should.equal(2);
}));

it('should purged named form only from specified project', testService(async (service, container) => {
it('should purge named form only from specified project', testService(async (service, container) => {
const asAlice = await service.login('alice');

// delete simple form in project 1 (but don't purge it)
Expand Down

0 comments on commit 25f3b0f

Please sign in to comment.