public function test_update_customer_without_permission()
{
wp_set_current_user(0);
$customer = WC_Helper_Customer::create_customer('update_customer_test_without_permission', 'test123', '[email protected]');
$response = $this->server->dispatch(new WP_REST_Request('GET', '/wc/v1/customers/' . $customer->get_id()));
$this->assertEquals(401, $response->get_status());
}