Skip to content

Commit

Permalink
Add fulfillAdsAccounts
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgemd24 committed Sep 14, 2023
1 parent 748b720 commit 516a179
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/e2e/utils/mock-requests.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,16 @@ export default class MockRequests {
await this.fulfillRequest( /\/wc\/gla\/ads\/connection\b/, payload );
}

/**
* Fulfill the Ads Account request.
*
* @param {Object} payload
* @return {Promise<void>}
*/
async fulfillAdsAccounts( payload ) {
await this.fulfillRequest( /\/wc\/gla\/ads\/accounts\b/, payload );
}

/**
* Fulfill the Sync Settings Connection request.
*
Expand Down

0 comments on commit 516a179

Please sign in to comment.