Skip to content

Commit bfbc5fa

Browse files
committed
Try POST instead of PUT for plugin activation
1 parent 4fe28bb commit bfbc5fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/e2e-test-utils-playwright/src/request-utils

‎packages/e2e-test-utils-playwright/src/request-utils/plugins.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ async function activatePlugin( this: RequestUtils, slug: string ) {
7777
const plugin = getPluginFromMap( slug, pluginsMap );
7878

7979
await this.rest( {
80-
method: 'PUT',
80+
method: 'POST',
8181
path: `/wp/v2/plugins/${ plugin }`,
8282
data: { status: 'active' },
8383
} );

0 commit comments

Comments
 (0)