Skip to content

Commit 1796300

Browse files
committed
Fix updateOption param names
1 parent 6e490ee commit 1796300

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/cypress/support/commands.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -611,11 +611,11 @@ Cypress.Commands.add( 'cleanupTestPosts', () => {
611611
/**
612612
* Update a WordPress option.
613613
*
614-
* @param {string} optionName - The name of the option to update
615-
* @param {string} optionValue - The new value for the option
614+
* @param {string} name - The name of the option to update
615+
* @param {string} value - The new value for the option
616616
*/
617-
Cypress.Commands.add( 'updateOption', ( optionName, optionValue ) => {
618-
cy.task( 'updateOption', { optionName, optionValue } );
617+
Cypress.Commands.add( 'updateOption', ( name, value ) => {
618+
cy.task( 'updateOption', { name, value } );
619619
} );
620620

621621
/**

0 commit comments

Comments
 (0)