Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kirtangajjar committed Jul 30, 2024
1 parent c8b9c23 commit 6f54ad0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/cypress/e2e/internal-push.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ describe( 'Internal Push', () => {

cy.createPost( { title: postTitle, content } ).then( ( post ) => {
// Set category and tag
cy.wpCli( `post term set ${ post.id } category ${ categoryName }` );
cy.wpCli( `post term set ${ post.id } post_tag ${ tagName }` );
cy.wpCli( `wp post term set ${ post.id } category ${ categoryName }` );

Check failure on line 51 in tests/cypress/e2e/internal-push.test.js

View workflow job for this annotation

GitHub Actions / ESLint Report Analysis

tests/cypress/e2e/internal-push.test.js#L51

[prettier/prettier] Replace `·`wp·post·term·set·${·post.id·}·category·${·categoryName·}`·` with `⏎↹↹↹↹`wp·post·term·set·${·post.id·}·category·${·categoryName·}`⏎↹↹↹`
cy.wpCli( `wp post term set ${ post.id } post_tag ${ tagName }` );

// Set post meta.
cy.wpCli(
Expand Down

0 comments on commit 6f54ad0

Please sign in to comment.