Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mhkarimi1383
Copy link
Owner

Summary

Corrected incomplete toHaveBeenCalledWith assertions in wordpressApiRequest tests within packages/nodes-base/nodes/Wordpress/__tests__/GenericFunctions.test.ts. Previously, the credentialType argument was missing. This PR adds 'wordpressApi' to the two affected assertions, ensuring complete and accurate test coverage for requestWithAuthentication calls.

Related Linear tickets, Github issues, and Community forum posts

N/A

Review / Merge checklist

  • PR title and summary are descriptive.
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

Open in Cursor Open in Web

mhkarimi1383 and others added 2 commits October 15, 2025 13:05
While not setting `Cache-Control`, Some cache plugins will ignore method

For example:

It returns posts list while trying to create post

Signed-off-by: Muhammed Hussain Karimi <[email protected]>
@cursor
Copy link

cursor bot commented Oct 15, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants