Skip to content

Commit

Permalink
[5.0] spelling descending (joomla#42348)
Browse files Browse the repository at this point in the history
Simple spelling correction

Co-authored-by: Benjamin Trenkle <[email protected]>
Co-authored-by: Quy <[email protected]>
  • Loading branch information
3 people authored Nov 16, 2023
1 parent 279f051 commit 4e4177f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ describe('Test in backend that privacy consent component', () => {
});
}
cy.wrap(cellData).then((data) => {
// Sort the array in decending order
// Sort the array in descending order
const sortedArray = data.slice().sort((a, b) => b - a);

cy.wrap(sortedArray[0]).should('eq', data[0]);
Expand Down Expand Up @@ -490,7 +490,7 @@ describe('Test in backend that privacy consent component', () => {
});
});

it('can list by id in decending order', () => {
it('can list by id in descending order', () => {
cy.db_enableExtension('0', 'plg_system_privacyconsent');
cy.db_createUser().then((id) => {
cy.db_createPrivacyConsent({ state: 1, body: 'test body', user_id: `${id}` });
Expand Down

0 comments on commit 4e4177f

Please sign in to comment.