You appear to be a bot. Output may be restricted
Description
Test updating Shipping Zone Locations with a bad zone ID.
Usage
WC_Tests_API_Shipping_Zones_V2::test_update_locations_invalid_id();
Parameters
Returns
void
Source
File name: woocommerce/tests/unit-tests/api/v2/shipping-zones.php
Lines: 1 to 7 of 7
public function test_update_locations_invalid_id() { wp_set_current_user( $this->user ); $response = $this->server->dispatch( new WP_REST_Request( 'PUT', '/wc/v2/shipping/zones/1/locations' ) ); $this->assertEquals( 404, $response->get_status() ); }