wp plugin udapted v1.5.0
This commit is contained in:
@@ -12,8 +12,8 @@ class Test_Site_Metadata_Endpoint extends WP_UnitTestCase {
|
||||
update_option('igny8_connection_enabled', 1);
|
||||
|
||||
// Create a fake API key so permission checks pass via Igny8API
|
||||
// Note: Only igny8_api_key is needed (access_token was deprecated)
|
||||
update_option('igny8_api_key', 'test-api-key-123');
|
||||
update_option('igny8_access_token', 'test-api-key-123');
|
||||
|
||||
// Build request
|
||||
$request = new WP_REST_Request('GET', '/igny8/v1/site-metadata/');
|
||||
|
||||
Reference in New Issue
Block a user