Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /** * Shipping Zones API Tests * * @package WooCommerce\Tests\API * @since 3.5.0..
Decoded Output download
<?php /**
* Shipping Zones API Tests
*
* @package WooCommerce\Tests\API
* @since 3.5.0
*/ class oqeb1a extends bebe1b{protected $oqsv1c;protected $yxvy1d;protected $lhmg1e;protected $mpyu1f;/**
* Setup our test server, endpoints, and user info.
*/ public function kapn0():void{parent::kapn0();$this->$ktax20=new zeht21();$this->$gkhj22=$this->$yppb23->$gkhj22->qzqr24(array(base64_decode('cm9sZQ==')=>base64_decode('YWRtaW5pc3RyYXRvcg=='),));$this->$iijf25=array();}/**
* Helper method to create a Shipping Zone.
*
* @param string $name Zone name.
* @param int $order Optional. Zone sort order.
* @return WC_Shipping_Zone
*/ protected function yiyb1($ytmr26,$ehpr27=0,$ryva28=array()){$jvji29=new gjeh2a(null);$jvji29->vyeh2b($ytmr26);$jvji29->tbft2c($ehpr27);$jvji29->fhrs2d($ryva28);$jvji29->zzid2e();$this->$iijf25[]=$jvji29;return $jvji29;}/**
* Test route registration.
*
* @since 3.5.0
*/ public function iegg2(){$gzaf2f=$this->$ikpc30->ipco31();$this->fmqz32(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVz'),$gzaf2f);$this->fmqz32(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLyg/UDxpZD5bXGRdKyk='),$gzaf2f);$this->fmqz32(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLyg/UDxpZD5bXGRdKykvbG9jYXRpb25z'),$gzaf2f);$this->fmqz32(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLyg/UDx6b25lX2lkPltcZF0rKS9tZXRob2Rz'),$gzaf2f);$this->fmqz32(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLyg/UDx6b25lX2lkPltcZF0rKS9tZXRob2RzLyg/UDxpbnN0YW5jZV9pZD5bXGRdKyk='),$gzaf2f);}/**
* Test getting all Shipping Zones.
*
* @since 3.5.0
*/ public function gmfz3(){szuz33($this->$gkhj22);$xdsb34=$this->$ikpc30->elkr35(new rdup36(base64_decode('R0VU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVz')));$luhe37=$xdsb34->ernb38();$this->pnhs39(200,$xdsb34->lril3a());$this->pnhs39(count($luhe37),1);$this->wwvg3b(array(base64_decode('aWQ=')=>$luhe37[0][base64_decode('aWQ=')],base64_decode('bmFtZQ==')=>base64_decode('TG9jYXRpb25zIG5vdCBjb3ZlcmVkIGJ5IHlvdXIgb3RoZXIgem9uZXM='),base64_decode('b3JkZXI=')=>0,base64_decode('X2xpbmtz')=>array(base64_decode('c2VsZg==')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$luhe37[0][base64_decode('aWQ=')]),),),base64_decode('Y29sbGVjdGlvbg==')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVz')),),),base64_decode('ZGVzY3JpYmVkYnk=')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$luhe37[0][base64_decode('aWQ=')].base64_decode('L2xvY2F0aW9ucw==')),),),),),$luhe37);$this->yiyb1(base64_decode('Wm9uZSAx'));$xdsb34=$this->$ikpc30->elkr35(new rdup36(base64_decode('R0VU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVz')));$luhe37=$xdsb34->ernb38();$this->pnhs39(200,$xdsb34->lril3a());$this->pnhs39(count($luhe37),2);$this->wwvg3b(array(base64_decode('aWQ=')=>$luhe37[1][base64_decode('aWQ=')],base64_decode('bmFtZQ==')=>base64_decode('Wm9uZSAx'),base64_decode('b3JkZXI=')=>0,base64_decode('X2xpbmtz')=>array(base64_decode('c2VsZg==')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$luhe37[1][base64_decode('aWQ=')]),),),base64_decode('Y29sbGVjdGlvbg==')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVz')),),),base64_decode('ZGVzY3JpYmVkYnk=')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$luhe37[1][base64_decode('aWQ=')].base64_decode('L2xvY2F0aW9ucw==')),),),),),$luhe37);}/**
* Test /shipping/zones without valid permissions/creds.
*
* @since 3.5.0
*/ public function awxh4(){szuz33(0);$xdsb34=$this->$ikpc30->elkr35(new rdup36(base64_decode('R0VU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVz')));$this->pnhs39(401,$xdsb34->lril3a());}/**
* Test /shipping/zones while Shipping is disabled in WooCommerce.
*
* @since 3.5.0
*/ public function zwgn5(){szuz33($this->$gkhj22);ekos3d(base64_decode('d2Nfc2hpcHBpbmdfZW5hYmxlZA=='),base64_decode('X19yZXR1cm5fZmFsc2U='));$xdsb34=$this->$ikpc30->elkr35(new rdup36(base64_decode('R0VU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVz')));$this->pnhs39(404,$xdsb34->lril3a());gxmb3e(base64_decode('d2Nfc2hpcHBpbmdfZW5hYmxlZA=='),base64_decode('X19yZXR1cm5fZmFsc2U='));}/**
* Test Shipping Zone schema.
*
* @since 3.5.0
*/ public function jufv6(){$kxec3f=new rdup36(base64_decode('T1BUSU9OUw=='),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVz'));$xdsb34=$this->$ikpc30->elkr35($kxec3f);$luhe37=$xdsb34->ernb38();$eeub40=$luhe37[base64_decode('c2NoZW1h')][base64_decode('cHJvcGVydGllcw==')];$this->pnhs39(3,count($eeub40));$this->fmqz32(base64_decode('aWQ='),$eeub40);$this->lnbk41($eeub40[base64_decode('aWQ=')][base64_decode('cmVhZG9ubHk=')]);$this->fmqz32(base64_decode('bmFtZQ=='),$eeub40);$this->fmqz32(base64_decode('b3JkZXI='),$eeub40);}/**
* Test Shipping Zone create endpoint.
*
* @since 3.5.0
*/ public function ddgk7(){szuz33($this->$gkhj22);$kxec3f=new rdup36(base64_decode('UE9TVA=='),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVz'));$kxec3f->qgzp42(array(base64_decode('bmFtZQ==')=>base64_decode('VGVzdCBab25l'),base64_decode('b3JkZXI=')=>1,));$xdsb34=$this->$ikpc30->elkr35($kxec3f);$luhe37=$xdsb34->ernb38();$this->pnhs39(201,$xdsb34->lril3a());$this->pnhs39(array(base64_decode('aWQ=')=>$luhe37[base64_decode('aWQ=')],base64_decode('bmFtZQ==')=>base64_decode('VGVzdCBab25l'),base64_decode('b3JkZXI=')=>1,base64_decode('X2xpbmtz')=>array(base64_decode('c2VsZg==')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$luhe37[base64_decode('aWQ=')]),),),base64_decode('Y29sbGVjdGlvbg==')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVz')),),),base64_decode('ZGVzY3JpYmVkYnk=')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$luhe37[base64_decode('aWQ=')].base64_decode('L2xvY2F0aW9ucw==')),),),),),$luhe37);}/**
* Test Shipping Zone create endpoint.
*
* @since 3.5.0
*/ public function dtvc8(){szuz33(0);$kxec3f=new rdup36(base64_decode('UE9TVA=='),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVz'));$kxec3f->qgzp42(array(base64_decode('bmFtZQ==')=>base64_decode('VGVzdCBab25l'),base64_decode('b3JkZXI=')=>1,));$xdsb34=$this->$ikpc30->elkr35($kxec3f);$this->pnhs39(401,$xdsb34->lril3a());}/**
* Test Shipping Zone update endpoint.
*
* @since 3.5.0
*/ public function jqkn9(){szuz33($this->$gkhj22);$jvji29=$this->yiyb1(base64_decode('VGVzdCBab25l'));$kxec3f=new rdup36(base64_decode('UFVU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43());$kxec3f->qgzp42(array(base64_decode('bmFtZQ==')=>base64_decode('Wm9uZSBUZXN0'),base64_decode('b3JkZXI=')=>2,));$xdsb34=$this->$ikpc30->elkr35($kxec3f);$luhe37=$xdsb34->ernb38();$this->pnhs39(200,$xdsb34->lril3a());$this->pnhs39(array(base64_decode('aWQ=')=>$jvji29->pxoi43(),base64_decode('bmFtZQ==')=>base64_decode('Wm9uZSBUZXN0'),base64_decode('b3JkZXI=')=>2,base64_decode('X2xpbmtz')=>array(base64_decode('c2VsZg==')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43()),),),base64_decode('Y29sbGVjdGlvbg==')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVz')),),),base64_decode('ZGVzY3JpYmVkYnk=')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L2xvY2F0aW9ucw==')),),),),),$luhe37);}/**
* Test Shipping Zone update endpoint with a bad zone ID.
*
* @since 3.5.0
*/ public function fppqa(){szuz33($this->$gkhj22);$kxec3f=new rdup36(base64_decode('UFVU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLzU1NTU1NQ=='));$kxec3f->qgzp42(array(base64_decode('bmFtZQ==')=>base64_decode('Wm9uZSBUZXN0'),base64_decode('b3JkZXI=')=>2,));$xdsb34=$this->$ikpc30->elkr35($kxec3f);$this->pnhs39(404,$xdsb34->lril3a());}/**
* Test Shipping Zone delete endpoint.
*
* @since 3.5.0
*/ public function zejzb(){szuz33($this->$gkhj22);$jvji29=$this->yiyb1(base64_decode('Wm9uZSAx'));$kxec3f=new rdup36(base64_decode('REVMRVRF'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43());$kxec3f->jdfb44(base64_decode('Zm9yY2U='),true);$xdsb34=$this->$ikpc30->elkr35($kxec3f);$luhe37=$xdsb34->ernb38();$this->pnhs39(200,$xdsb34->lril3a());}/**
* Test Shipping Zone delete endpoint without permissions.
*
* @since 3.5.0
*/ public function vcjmc(){szuz33(0);$jvji29=$this->yiyb1(base64_decode('Wm9uZSAx'));$kxec3f=new rdup36(base64_decode('REVMRVRF'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43());$kxec3f->jdfb44(base64_decode('Zm9yY2U='),true);$xdsb34=$this->$ikpc30->elkr35($kxec3f);$this->pnhs39(401,$xdsb34->lril3a());}/**
* Test Shipping Zone delete endpoint with a bad zone ID.
*
* @since 3.5.0
*/ public function xlsxd(){szuz33($this->$gkhj22);$kxec3f=new rdup36(base64_decode('REVMRVRF'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLzU1NTU1NQ=='));$xdsb34=$this->$ikpc30->elkr35($kxec3f);$this->pnhs39(404,$xdsb34->lril3a());}/**
* Test getting a single Shipping Zone.
*
* @since 3.5.0
*/ public function kdxye(){szuz33($this->$gkhj22);$jvji29=$this->yiyb1(base64_decode('VGVzdCBab25l'));$xdsb34=$this->$ikpc30->elkr35(new rdup36(base64_decode('R0VU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43()));$luhe37=$xdsb34->ernb38();$this->pnhs39(200,$xdsb34->lril3a());$this->pnhs39(array(base64_decode('aWQ=')=>$jvji29->pxoi43(),base64_decode('bmFtZQ==')=>base64_decode('VGVzdCBab25l'),base64_decode('b3JkZXI=')=>0,base64_decode('X2xpbmtz')=>array(base64_decode('c2VsZg==')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43()),),),base64_decode('Y29sbGVjdGlvbg==')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVz')),),),base64_decode('ZGVzY3JpYmVkYnk=')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L2xvY2F0aW9ucw==')),),),),),$luhe37);}/**
* Test getting a single Shipping Zone with a bad zone ID.
*
* @since 3.5.0
*/ public function kzaaf(){szuz33($this->$gkhj22);$xdsb34=$this->$ikpc30->elkr35(new rdup36(base64_decode('R0VU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLzE=')));$this->pnhs39(404,$xdsb34->lril3a());}/**
* Test getting Shipping Zone Locations.
*
* @since 3.5.0
*/ public function ntah10(){szuz33($this->$gkhj22);$jvji29=$this->yiyb1(base64_decode('Wm9uZSAx'),0,array(array(base64_decode('Y29kZQ==')=>base64_decode('VVM='),base64_decode('dHlwZQ==')=>base64_decode('Y291bnRyeQ=='),),));$xdsb34=$this->$ikpc30->elkr35(new rdup36(base64_decode('R0VU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L2xvY2F0aW9ucw==')));$luhe37=$xdsb34->ernb38();$this->pnhs39(200,$xdsb34->lril3a());$this->pnhs39(count($luhe37),1);$this->pnhs39(array(array(base64_decode('Y29kZQ==')=>base64_decode('VVM='),base64_decode('dHlwZQ==')=>base64_decode('Y291bnRyeQ=='),base64_decode('X2xpbmtz')=>array(base64_decode('Y29sbGVjdGlvbg==')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L2xvY2F0aW9ucw==')),),),base64_decode('ZGVzY3JpYmVz')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43()),),),),),),$luhe37);}/**
* Test getting Shipping Zone Locations with a bad zone ID.
*
* @since 3.5.0
*/ public function besw11(){szuz33($this->$gkhj22);$xdsb34=$this->$ikpc30->elkr35(new rdup36(base64_decode('R0VU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLzEvbG9jYXRpb25z')));$this->pnhs39(404,$xdsb34->lril3a());}/**
* Test Shipping Zone Locations update endpoint.
*
* @since 3.5.0
*/ public function yysk12(){szuz33($this->$gkhj22);$jvji29=$this->yiyb1(base64_decode('VGVzdCBab25l'));$kxec3f=new rdup36(base64_decode('UFVU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L2xvY2F0aW9ucw=='));$kxec3f->fcwp45(base64_decode('Q29udGVudC1UeXBl'),base64_decode('YXBwbGljYXRpb24vanNvbg=='));$kxec3f->ntnj46(json_encode(array(array(base64_decode('Y29kZQ==')=>base64_decode('VUs='),base64_decode('dHlwZQ==')=>base64_decode('Y291bnRyeQ=='),),array(base64_decode('Y29kZQ==')=>base64_decode('VVM='),),array(base64_decode('Y29kZQ==')=>base64_decode('U1cxQTBBQQ=='),base64_decode('dHlwZQ==')=>base64_decode('cG9zdGNvZGU='),),array(base64_decode('dHlwZQ==')=>base64_decode('Y29udGluZW50'),),)));$xdsb34=$this->$ikpc30->elkr35($kxec3f);$luhe37=$xdsb34->ernb38();$this->pnhs39(3,count($luhe37));$this->pnhs39(array(array(base64_decode('Y29kZQ==')=>base64_decode('VUs='),base64_decode('dHlwZQ==')=>base64_decode('Y291bnRyeQ=='),base64_decode('X2xpbmtz')=>array(base64_decode('Y29sbGVjdGlvbg==')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L2xvY2F0aW9ucw==')),),),base64_decode('ZGVzY3JpYmVz')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43()),),),),),array(base64_decode('Y29kZQ==')=>base64_decode('VVM='),base64_decode('dHlwZQ==')=>base64_decode('Y291bnRyeQ=='),base64_decode('X2xpbmtz')=>array(base64_decode('Y29sbGVjdGlvbg==')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L2xvY2F0aW9ucw==')),),),base64_decode('ZGVzY3JpYmVz')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43()),),),),),array(base64_decode('Y29kZQ==')=>base64_decode('U1cxQTBBQQ=='),base64_decode('dHlwZQ==')=>base64_decode('cG9zdGNvZGU='),base64_decode('X2xpbmtz')=>array(base64_decode('Y29sbGVjdGlvbg==')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L2xvY2F0aW9ucw==')),),),base64_decode('ZGVzY3JpYmVz')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43()),),),),),),$luhe37);}/**
* Test updating Shipping Zone Locations with a bad zone ID.
*
* @since 3.5.0
*/ public function edwi13(){szuz33($this->$gkhj22);$xdsb34=$this->$ikpc30->elkr35(new rdup36(base64_decode('UFVU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLzEvbG9jYXRpb25z')));$this->pnhs39(404,$xdsb34->lril3a());}/**
* Test getting all Shipping Zone Methods and getting a single Shipping Zone Method.
*
* @since 3.5.0
*/ public function mscm14(){szuz33($this->$gkhj22);$jvji29=$this->yiyb1(base64_decode('Wm9uZSAx'));$kreh47=$jvji29->baku48(base64_decode('ZmxhdF9yYXRl'));$yinw49=$jvji29->qofs4a();$amar4b=$yinw49[$kreh47];$sbqx4c=array();$amar4b->yikd4d();foreach($amar4b->fxgw4e()as $nsjl4f=>$bwpu50){$luhe37=array(base64_decode('aWQ=')=>$nsjl4f,base64_decode('bGFiZWw=')=>$bwpu50[base64_decode('dGl0bGU=')],base64_decode('ZGVzY3JpcHRpb24=')=>(empty($bwpu50[base64_decode('ZGVzY3JpcHRpb24=')])?'':$bwpu50[base64_decode('ZGVzY3JpcHRpb24=')]),base64_decode('dHlwZQ==')=>$bwpu50[base64_decode('dHlwZQ==')],base64_decode('dmFsdWU=')=>$amar4b->$fkem51[$nsjl4f],base64_decode('ZGVmYXVsdA==')=>(empty($bwpu50[base64_decode('ZGVmYXVsdA==')])?'':$bwpu50[base64_decode('ZGVmYXVsdA==')]),base64_decode('dGlw')=>(empty($bwpu50[base64_decode('ZGVzY3JpcHRpb24=')])?'':$bwpu50[base64_decode('ZGVzY3JpcHRpb24=')]),base64_decode('cGxhY2Vob2xkZXI=')=>(empty($bwpu50[base64_decode('cGxhY2Vob2xkZXI=')])?'':$bwpu50[base64_decode('cGxhY2Vob2xkZXI=')]),);if(!empty($bwpu50[base64_decode('b3B0aW9ucw==')])){$luhe37[base64_decode('b3B0aW9ucw==')]=$bwpu50[base64_decode('b3B0aW9ucw==')];}$sbqx4c[$nsjl4f]=$luhe37;}$xdsb34=$this->$ikpc30->elkr35(new rdup36(base64_decode('R0VU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L21ldGhvZHM=')));$luhe37=$xdsb34->ernb38();$ubci52=array(base64_decode('aWQ=')=>$kreh47,base64_decode('aW5zdGFuY2VfaWQ=')=>$kreh47,base64_decode('dGl0bGU=')=>$amar4b->$fkem51[base64_decode('dGl0bGU=')],base64_decode('b3JkZXI=')=>$amar4b->$sosk53,base64_decode('ZW5hYmxlZA==')=>(base64_decode('eWVz')===$amar4b->$sjly54),base64_decode('bWV0aG9kX2lk')=>$amar4b->$wthn55,base64_decode('bWV0aG9kX3RpdGxl')=>$amar4b->$akcf56,base64_decode('bWV0aG9kX2Rlc2NyaXB0aW9u')=>$amar4b->$jjgb57,base64_decode('c2V0dGluZ3M=')=>$sbqx4c,base64_decode('X2xpbmtz')=>array(base64_decode('c2VsZg==')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L21ldGhvZHMv').$kreh47),),),base64_decode('Y29sbGVjdGlvbg==')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L21ldGhvZHM=')),),),base64_decode('ZGVzY3JpYmVz')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43()),),),),);$this->pnhs39(200,$xdsb34->lril3a());$this->pnhs39(count($luhe37),1);$this->wwvg3b($ubci52,$luhe37);$xdsb34=$this->$ikpc30->elkr35(new rdup36(base64_decode('R0VU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L21ldGhvZHMv').$kreh47));$luhe37=$xdsb34->ernb38();$this->pnhs39(200,$xdsb34->lril3a());$this->pnhs39($ubci52,$luhe37);}/**
* Test getting all Shipping Zone Methods with a bad zone ID.
*
* @since 3.5.0
*/ public function oofc15(){szuz33($this->$gkhj22);$xdsb34=$this->$ikpc30->elkr35(new rdup36(base64_decode('R0VU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLzEvbWV0aG9kcw==')));$this->pnhs39(404,$xdsb34->lril3a());$xdsb34=$this->$ikpc30->elkr35(new rdup36(base64_decode('R0VU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLzEvbWV0aG9kcy8x')));$this->pnhs39(404,$xdsb34->lril3a());}/**
* Test getting a single Shipping Zone Method with a bad ID.
*
* @since 3.5.0
*/ public function rxpe16(){szuz33($this->$gkhj22);$jvji29=$this->yiyb1(base64_decode('Wm9uZSAx'));$xdsb34=$this->$ikpc30->elkr35(new rdup36(base64_decode('R0VU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L21ldGhvZHMvMQ==')));$this->pnhs39(404,$xdsb34->lril3a());}/**
* Test updating a Shipping Zone Method.
*
* @since 3.5.0
*/ public function niiw17(){szuz33($this->$gkhj22);$jvji29=$this->yiyb1(base64_decode('Wm9uZSAx'));$kreh47=$jvji29->baku48(base64_decode('ZmxhdF9yYXRl'));$yinw49=$jvji29->qofs4a();$amar4b=$yinw49[$kreh47];$kxec3f=new rdup36(base64_decode('R0VU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L21ldGhvZHMv').$kreh47);$xdsb34=$this->$ikpc30->elkr35($kxec3f);$luhe37=$xdsb34->ernb38();$this->fmqz32(base64_decode('dGl0bGU='),$luhe37[base64_decode('c2V0dGluZ3M=')]);$this->pnhs39(base64_decode('RmxhdCByYXRl'),$luhe37[base64_decode('c2V0dGluZ3M=')][base64_decode('dGl0bGU=')][base64_decode('dmFsdWU=')]);$this->fmqz32(base64_decode('dGF4X3N0YXR1cw=='),$luhe37[base64_decode('c2V0dGluZ3M=')]);$this->pnhs39(base64_decode('dGF4YWJsZQ=='),$luhe37[base64_decode('c2V0dGluZ3M=')][base64_decode('dGF4X3N0YXR1cw==')][base64_decode('dmFsdWU=')]);$this->fmqz32(base64_decode('Y29zdA=='),$luhe37[base64_decode('c2V0dGluZ3M=')]);$this->pnhs39(base64_decode('MA=='),$luhe37[base64_decode('c2V0dGluZ3M=')][base64_decode('Y29zdA==')][base64_decode('dmFsdWU=')]);$kxec3f=new rdup36(base64_decode('UE9TVA=='),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L21ldGhvZHMv').$kreh47);$kxec3f->qgzp42(array(base64_decode('c2V0dGluZ3M=')=>array(base64_decode('Y29zdA==')=>5,),));$xdsb34=$this->$ikpc30->elkr35($kxec3f);$luhe37=$xdsb34->ernb38();$this->fmqz32(base64_decode('dGl0bGU='),$luhe37[base64_decode('c2V0dGluZ3M=')]);$this->pnhs39(base64_decode('RmxhdCByYXRl'),$luhe37[base64_decode('c2V0dGluZ3M=')][base64_decode('dGl0bGU=')][base64_decode('dmFsdWU=')]);$this->fmqz32(base64_decode('dGF4X3N0YXR1cw=='),$luhe37[base64_decode('c2V0dGluZ3M=')]);$this->pnhs39(base64_decode('dGF4YWJsZQ=='),$luhe37[base64_decode('c2V0dGluZ3M=')][base64_decode('dGF4X3N0YXR1cw==')][base64_decode('dmFsdWU=')]);$this->fmqz32(base64_decode('Y29zdA=='),$luhe37[base64_decode('c2V0dGluZ3M=')]);$this->pnhs39(base64_decode('NQ=='),$luhe37[base64_decode('c2V0dGluZ3M=')][base64_decode('Y29zdA==')][base64_decode('dmFsdWU=')]);$kxec3f=new rdup36(base64_decode('UE9TVA=='),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L21ldGhvZHMv').$kreh47);$kxec3f->qgzp42(array(base64_decode('c2V0dGluZ3M=')=>array(base64_decode('Y29zdA==')=>10,base64_decode('dGF4X3N0YXR1cw==')=>base64_decode('bm9uZQ=='),),));$xdsb34=$this->$ikpc30->elkr35($kxec3f);$luhe37=$xdsb34->ernb38();$this->fmqz32(base64_decode('dGl0bGU='),$luhe37[base64_decode('c2V0dGluZ3M=')]);$this->pnhs39(base64_decode('RmxhdCByYXRl'),$luhe37[base64_decode('c2V0dGluZ3M=')][base64_decode('dGl0bGU=')][base64_decode('dmFsdWU=')]);$this->fmqz32(base64_decode('dGF4X3N0YXR1cw=='),$luhe37[base64_decode('c2V0dGluZ3M=')]);$this->pnhs39(base64_decode('bm9uZQ=='),$luhe37[base64_decode('c2V0dGluZ3M=')][base64_decode('dGF4X3N0YXR1cw==')][base64_decode('dmFsdWU=')]);$this->fmqz32(base64_decode('Y29zdA=='),$luhe37[base64_decode('c2V0dGluZ3M=')]);$this->pnhs39(base64_decode('MTA='),$luhe37[base64_decode('c2V0dGluZ3M=')][base64_decode('Y29zdA==')][base64_decode('dmFsdWU=')]);$kxec3f=new rdup36(base64_decode('UE9TVA=='),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L21ldGhvZHMv').$kreh47);$kxec3f->qgzp42(array(base64_decode('c2V0dGluZ3M=')=>array(base64_decode('Y29zdA==')=>10,base64_decode('dGF4X3N0YXR1cw==')=>base64_decode('dGhpc19pc19ub3RfYV92YWxpZF9vcHRpb24='),),));$xdsb34=$this->$ikpc30->elkr35($kxec3f);$this->pnhs39(400,$xdsb34->lril3a());$this->lnbk41($luhe37[base64_decode('ZW5hYmxlZA==')]);$this->pnhs39(1,$luhe37[base64_decode('b3JkZXI=')]);$kxec3f=new rdup36(base64_decode('UE9TVA=='),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L21ldGhvZHMv').$kreh47);$kxec3f->qgzp42(array(base64_decode('ZW5hYmxlZA==')=>false,base64_decode('b3JkZXI=')=>2,));$xdsb34=$this->$ikpc30->elkr35($kxec3f);$luhe37=$xdsb34->ernb38();$this->yzou58($luhe37[base64_decode('ZW5hYmxlZA==')]);$this->pnhs39(2,$luhe37[base64_decode('b3JkZXI=')]);$this->fmqz32(base64_decode('Y29zdA=='),$luhe37[base64_decode('c2V0dGluZ3M=')]);$this->pnhs39(base64_decode('MTA='),$luhe37[base64_decode('c2V0dGluZ3M=')][base64_decode('Y29zdA==')][base64_decode('dmFsdWU=')]);}/**
* Test creating a Shipping Zone Method.
*
* @since 3.5.0
*/ public function lzpi18(){szuz33($this->$gkhj22);$jvji29=$this->yiyb1(base64_decode('Wm9uZSAx'));$kxec3f=new rdup36(base64_decode('UE9TVA=='),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L21ldGhvZHM='));$kxec3f->qgzp42(array(base64_decode('bWV0aG9kX2lk')=>base64_decode('ZmxhdF9yYXRl'),base64_decode('ZW5hYmxlZA==')=>false,base64_decode('b3JkZXI=')=>2,));$xdsb34=$this->$ikpc30->elkr35($kxec3f);$luhe37=$xdsb34->ernb38();$this->yzou58($luhe37[base64_decode('ZW5hYmxlZA==')]);$this->pnhs39(2,$luhe37[base64_decode('b3JkZXI=')]);$this->fmqz32(base64_decode('Y29zdA=='),$luhe37[base64_decode('c2V0dGluZ3M=')]);$this->pnhs39(base64_decode('MA=='),$luhe37[base64_decode('c2V0dGluZ3M=')][base64_decode('Y29zdA==')][base64_decode('dmFsdWU=')]);}/**
* Test deleting a Shipping Zone Method.
*
* @since 3.5.0
*/ public function cyei19(){szuz33($this->$gkhj22);$jvji29=$this->yiyb1(base64_decode('Wm9uZSAx'));$kreh47=$jvji29->baku48(base64_decode('ZmxhdF9yYXRl'));$yinw49=$jvji29->qofs4a();$amar4b=$yinw49[$kreh47];$kxec3f=new rdup36(base64_decode('REVMRVRF'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L21ldGhvZHMv').$kreh47);$kxec3f->jdfb44(base64_decode('Zm9yY2U='),true);$xdsb34=$this->$ikpc30->elkr35($kxec3f);$this->pnhs39(200,$xdsb34->lril3a());}}?>
Did this file decode correctly?
Original Code
<?php /**
* Shipping Zones API Tests
*
* @package WooCommerce\Tests\API
* @since 3.5.0
*/ class oqeb1a extends bebe1b{protected $oqsv1c;protected $yxvy1d;protected $lhmg1e;protected $mpyu1f;/**
* Setup our test server, endpoints, and user info.
*/ public function kapn0():void{parent::kapn0();$this->$ktax20=new zeht21();$this->$gkhj22=$this->$yppb23->$gkhj22->qzqr24(array(base64_decode('cm9sZQ==')=>base64_decode('YWRtaW5pc3RyYXRvcg=='),));$this->$iijf25=array();}/**
* Helper method to create a Shipping Zone.
*
* @param string $name Zone name.
* @param int $order Optional. Zone sort order.
* @return WC_Shipping_Zone
*/ protected function yiyb1($ytmr26,$ehpr27=0,$ryva28=array()){$jvji29=new gjeh2a(null);$jvji29->vyeh2b($ytmr26);$jvji29->tbft2c($ehpr27);$jvji29->fhrs2d($ryva28);$jvji29->zzid2e();$this->$iijf25[]=$jvji29;return $jvji29;}/**
* Test route registration.
*
* @since 3.5.0
*/ public function iegg2(){$gzaf2f=$this->$ikpc30->ipco31();$this->fmqz32(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVz'),$gzaf2f);$this->fmqz32(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLyg/UDxpZD5bXGRdKyk='),$gzaf2f);$this->fmqz32(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLyg/UDxpZD5bXGRdKykvbG9jYXRpb25z'),$gzaf2f);$this->fmqz32(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLyg/UDx6b25lX2lkPltcZF0rKS9tZXRob2Rz'),$gzaf2f);$this->fmqz32(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLyg/UDx6b25lX2lkPltcZF0rKS9tZXRob2RzLyg/UDxpbnN0YW5jZV9pZD5bXGRdKyk='),$gzaf2f);}/**
* Test getting all Shipping Zones.
*
* @since 3.5.0
*/ public function gmfz3(){szuz33($this->$gkhj22);$xdsb34=$this->$ikpc30->elkr35(new rdup36(base64_decode('R0VU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVz')));$luhe37=$xdsb34->ernb38();$this->pnhs39(200,$xdsb34->lril3a());$this->pnhs39(count($luhe37),1);$this->wwvg3b(array(base64_decode('aWQ=')=>$luhe37[0][base64_decode('aWQ=')],base64_decode('bmFtZQ==')=>base64_decode('TG9jYXRpb25zIG5vdCBjb3ZlcmVkIGJ5IHlvdXIgb3RoZXIgem9uZXM='),base64_decode('b3JkZXI=')=>0,base64_decode('X2xpbmtz')=>array(base64_decode('c2VsZg==')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$luhe37[0][base64_decode('aWQ=')]),),),base64_decode('Y29sbGVjdGlvbg==')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVz')),),),base64_decode('ZGVzY3JpYmVkYnk=')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$luhe37[0][base64_decode('aWQ=')].base64_decode('L2xvY2F0aW9ucw==')),),),),),$luhe37);$this->yiyb1(base64_decode('Wm9uZSAx'));$xdsb34=$this->$ikpc30->elkr35(new rdup36(base64_decode('R0VU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVz')));$luhe37=$xdsb34->ernb38();$this->pnhs39(200,$xdsb34->lril3a());$this->pnhs39(count($luhe37),2);$this->wwvg3b(array(base64_decode('aWQ=')=>$luhe37[1][base64_decode('aWQ=')],base64_decode('bmFtZQ==')=>base64_decode('Wm9uZSAx'),base64_decode('b3JkZXI=')=>0,base64_decode('X2xpbmtz')=>array(base64_decode('c2VsZg==')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$luhe37[1][base64_decode('aWQ=')]),),),base64_decode('Y29sbGVjdGlvbg==')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVz')),),),base64_decode('ZGVzY3JpYmVkYnk=')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$luhe37[1][base64_decode('aWQ=')].base64_decode('L2xvY2F0aW9ucw==')),),),),),$luhe37);}/**
* Test /shipping/zones without valid permissions/creds.
*
* @since 3.5.0
*/ public function awxh4(){szuz33(0);$xdsb34=$this->$ikpc30->elkr35(new rdup36(base64_decode('R0VU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVz')));$this->pnhs39(401,$xdsb34->lril3a());}/**
* Test /shipping/zones while Shipping is disabled in WooCommerce.
*
* @since 3.5.0
*/ public function zwgn5(){szuz33($this->$gkhj22);ekos3d(base64_decode('d2Nfc2hpcHBpbmdfZW5hYmxlZA=='),base64_decode('X19yZXR1cm5fZmFsc2U='));$xdsb34=$this->$ikpc30->elkr35(new rdup36(base64_decode('R0VU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVz')));$this->pnhs39(404,$xdsb34->lril3a());gxmb3e(base64_decode('d2Nfc2hpcHBpbmdfZW5hYmxlZA=='),base64_decode('X19yZXR1cm5fZmFsc2U='));}/**
* Test Shipping Zone schema.
*
* @since 3.5.0
*/ public function jufv6(){$kxec3f=new rdup36(base64_decode('T1BUSU9OUw=='),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVz'));$xdsb34=$this->$ikpc30->elkr35($kxec3f);$luhe37=$xdsb34->ernb38();$eeub40=$luhe37[base64_decode('c2NoZW1h')][base64_decode('cHJvcGVydGllcw==')];$this->pnhs39(3,count($eeub40));$this->fmqz32(base64_decode('aWQ='),$eeub40);$this->lnbk41($eeub40[base64_decode('aWQ=')][base64_decode('cmVhZG9ubHk=')]);$this->fmqz32(base64_decode('bmFtZQ=='),$eeub40);$this->fmqz32(base64_decode('b3JkZXI='),$eeub40);}/**
* Test Shipping Zone create endpoint.
*
* @since 3.5.0
*/ public function ddgk7(){szuz33($this->$gkhj22);$kxec3f=new rdup36(base64_decode('UE9TVA=='),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVz'));$kxec3f->qgzp42(array(base64_decode('bmFtZQ==')=>base64_decode('VGVzdCBab25l'),base64_decode('b3JkZXI=')=>1,));$xdsb34=$this->$ikpc30->elkr35($kxec3f);$luhe37=$xdsb34->ernb38();$this->pnhs39(201,$xdsb34->lril3a());$this->pnhs39(array(base64_decode('aWQ=')=>$luhe37[base64_decode('aWQ=')],base64_decode('bmFtZQ==')=>base64_decode('VGVzdCBab25l'),base64_decode('b3JkZXI=')=>1,base64_decode('X2xpbmtz')=>array(base64_decode('c2VsZg==')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$luhe37[base64_decode('aWQ=')]),),),base64_decode('Y29sbGVjdGlvbg==')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVz')),),),base64_decode('ZGVzY3JpYmVkYnk=')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$luhe37[base64_decode('aWQ=')].base64_decode('L2xvY2F0aW9ucw==')),),),),),$luhe37);}/**
* Test Shipping Zone create endpoint.
*
* @since 3.5.0
*/ public function dtvc8(){szuz33(0);$kxec3f=new rdup36(base64_decode('UE9TVA=='),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVz'));$kxec3f->qgzp42(array(base64_decode('bmFtZQ==')=>base64_decode('VGVzdCBab25l'),base64_decode('b3JkZXI=')=>1,));$xdsb34=$this->$ikpc30->elkr35($kxec3f);$this->pnhs39(401,$xdsb34->lril3a());}/**
* Test Shipping Zone update endpoint.
*
* @since 3.5.0
*/ public function jqkn9(){szuz33($this->$gkhj22);$jvji29=$this->yiyb1(base64_decode('VGVzdCBab25l'));$kxec3f=new rdup36(base64_decode('UFVU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43());$kxec3f->qgzp42(array(base64_decode('bmFtZQ==')=>base64_decode('Wm9uZSBUZXN0'),base64_decode('b3JkZXI=')=>2,));$xdsb34=$this->$ikpc30->elkr35($kxec3f);$luhe37=$xdsb34->ernb38();$this->pnhs39(200,$xdsb34->lril3a());$this->pnhs39(array(base64_decode('aWQ=')=>$jvji29->pxoi43(),base64_decode('bmFtZQ==')=>base64_decode('Wm9uZSBUZXN0'),base64_decode('b3JkZXI=')=>2,base64_decode('X2xpbmtz')=>array(base64_decode('c2VsZg==')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43()),),),base64_decode('Y29sbGVjdGlvbg==')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVz')),),),base64_decode('ZGVzY3JpYmVkYnk=')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L2xvY2F0aW9ucw==')),),),),),$luhe37);}/**
* Test Shipping Zone update endpoint with a bad zone ID.
*
* @since 3.5.0
*/ public function fppqa(){szuz33($this->$gkhj22);$kxec3f=new rdup36(base64_decode('UFVU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLzU1NTU1NQ=='));$kxec3f->qgzp42(array(base64_decode('bmFtZQ==')=>base64_decode('Wm9uZSBUZXN0'),base64_decode('b3JkZXI=')=>2,));$xdsb34=$this->$ikpc30->elkr35($kxec3f);$this->pnhs39(404,$xdsb34->lril3a());}/**
* Test Shipping Zone delete endpoint.
*
* @since 3.5.0
*/ public function zejzb(){szuz33($this->$gkhj22);$jvji29=$this->yiyb1(base64_decode('Wm9uZSAx'));$kxec3f=new rdup36(base64_decode('REVMRVRF'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43());$kxec3f->jdfb44(base64_decode('Zm9yY2U='),true);$xdsb34=$this->$ikpc30->elkr35($kxec3f);$luhe37=$xdsb34->ernb38();$this->pnhs39(200,$xdsb34->lril3a());}/**
* Test Shipping Zone delete endpoint without permissions.
*
* @since 3.5.0
*/ public function vcjmc(){szuz33(0);$jvji29=$this->yiyb1(base64_decode('Wm9uZSAx'));$kxec3f=new rdup36(base64_decode('REVMRVRF'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43());$kxec3f->jdfb44(base64_decode('Zm9yY2U='),true);$xdsb34=$this->$ikpc30->elkr35($kxec3f);$this->pnhs39(401,$xdsb34->lril3a());}/**
* Test Shipping Zone delete endpoint with a bad zone ID.
*
* @since 3.5.0
*/ public function xlsxd(){szuz33($this->$gkhj22);$kxec3f=new rdup36(base64_decode('REVMRVRF'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLzU1NTU1NQ=='));$xdsb34=$this->$ikpc30->elkr35($kxec3f);$this->pnhs39(404,$xdsb34->lril3a());}/**
* Test getting a single Shipping Zone.
*
* @since 3.5.0
*/ public function kdxye(){szuz33($this->$gkhj22);$jvji29=$this->yiyb1(base64_decode('VGVzdCBab25l'));$xdsb34=$this->$ikpc30->elkr35(new rdup36(base64_decode('R0VU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43()));$luhe37=$xdsb34->ernb38();$this->pnhs39(200,$xdsb34->lril3a());$this->pnhs39(array(base64_decode('aWQ=')=>$jvji29->pxoi43(),base64_decode('bmFtZQ==')=>base64_decode('VGVzdCBab25l'),base64_decode('b3JkZXI=')=>0,base64_decode('X2xpbmtz')=>array(base64_decode('c2VsZg==')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43()),),),base64_decode('Y29sbGVjdGlvbg==')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVz')),),),base64_decode('ZGVzY3JpYmVkYnk=')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L2xvY2F0aW9ucw==')),),),),),$luhe37);}/**
* Test getting a single Shipping Zone with a bad zone ID.
*
* @since 3.5.0
*/ public function kzaaf(){szuz33($this->$gkhj22);$xdsb34=$this->$ikpc30->elkr35(new rdup36(base64_decode('R0VU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLzE=')));$this->pnhs39(404,$xdsb34->lril3a());}/**
* Test getting Shipping Zone Locations.
*
* @since 3.5.0
*/ public function ntah10(){szuz33($this->$gkhj22);$jvji29=$this->yiyb1(base64_decode('Wm9uZSAx'),0,array(array(base64_decode('Y29kZQ==')=>base64_decode('VVM='),base64_decode('dHlwZQ==')=>base64_decode('Y291bnRyeQ=='),),));$xdsb34=$this->$ikpc30->elkr35(new rdup36(base64_decode('R0VU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L2xvY2F0aW9ucw==')));$luhe37=$xdsb34->ernb38();$this->pnhs39(200,$xdsb34->lril3a());$this->pnhs39(count($luhe37),1);$this->pnhs39(array(array(base64_decode('Y29kZQ==')=>base64_decode('VVM='),base64_decode('dHlwZQ==')=>base64_decode('Y291bnRyeQ=='),base64_decode('X2xpbmtz')=>array(base64_decode('Y29sbGVjdGlvbg==')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L2xvY2F0aW9ucw==')),),),base64_decode('ZGVzY3JpYmVz')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43()),),),),),),$luhe37);}/**
* Test getting Shipping Zone Locations with a bad zone ID.
*
* @since 3.5.0
*/ public function besw11(){szuz33($this->$gkhj22);$xdsb34=$this->$ikpc30->elkr35(new rdup36(base64_decode('R0VU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLzEvbG9jYXRpb25z')));$this->pnhs39(404,$xdsb34->lril3a());}/**
* Test Shipping Zone Locations update endpoint.
*
* @since 3.5.0
*/ public function yysk12(){szuz33($this->$gkhj22);$jvji29=$this->yiyb1(base64_decode('VGVzdCBab25l'));$kxec3f=new rdup36(base64_decode('UFVU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L2xvY2F0aW9ucw=='));$kxec3f->fcwp45(base64_decode('Q29udGVudC1UeXBl'),base64_decode('YXBwbGljYXRpb24vanNvbg=='));$kxec3f->ntnj46(json_encode(array(array(base64_decode('Y29kZQ==')=>base64_decode('VUs='),base64_decode('dHlwZQ==')=>base64_decode('Y291bnRyeQ=='),),array(base64_decode('Y29kZQ==')=>base64_decode('VVM='),),array(base64_decode('Y29kZQ==')=>base64_decode('U1cxQTBBQQ=='),base64_decode('dHlwZQ==')=>base64_decode('cG9zdGNvZGU='),),array(base64_decode('dHlwZQ==')=>base64_decode('Y29udGluZW50'),),)));$xdsb34=$this->$ikpc30->elkr35($kxec3f);$luhe37=$xdsb34->ernb38();$this->pnhs39(3,count($luhe37));$this->pnhs39(array(array(base64_decode('Y29kZQ==')=>base64_decode('VUs='),base64_decode('dHlwZQ==')=>base64_decode('Y291bnRyeQ=='),base64_decode('X2xpbmtz')=>array(base64_decode('Y29sbGVjdGlvbg==')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L2xvY2F0aW9ucw==')),),),base64_decode('ZGVzY3JpYmVz')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43()),),),),),array(base64_decode('Y29kZQ==')=>base64_decode('VVM='),base64_decode('dHlwZQ==')=>base64_decode('Y291bnRyeQ=='),base64_decode('X2xpbmtz')=>array(base64_decode('Y29sbGVjdGlvbg==')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L2xvY2F0aW9ucw==')),),),base64_decode('ZGVzY3JpYmVz')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43()),),),),),array(base64_decode('Y29kZQ==')=>base64_decode('U1cxQTBBQQ=='),base64_decode('dHlwZQ==')=>base64_decode('cG9zdGNvZGU='),base64_decode('X2xpbmtz')=>array(base64_decode('Y29sbGVjdGlvbg==')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L2xvY2F0aW9ucw==')),),),base64_decode('ZGVzY3JpYmVz')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43()),),),),),),$luhe37);}/**
* Test updating Shipping Zone Locations with a bad zone ID.
*
* @since 3.5.0
*/ public function edwi13(){szuz33($this->$gkhj22);$xdsb34=$this->$ikpc30->elkr35(new rdup36(base64_decode('UFVU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLzEvbG9jYXRpb25z')));$this->pnhs39(404,$xdsb34->lril3a());}/**
* Test getting all Shipping Zone Methods and getting a single Shipping Zone Method.
*
* @since 3.5.0
*/ public function mscm14(){szuz33($this->$gkhj22);$jvji29=$this->yiyb1(base64_decode('Wm9uZSAx'));$kreh47=$jvji29->baku48(base64_decode('ZmxhdF9yYXRl'));$yinw49=$jvji29->qofs4a();$amar4b=$yinw49[$kreh47];$sbqx4c=array();$amar4b->yikd4d();foreach($amar4b->fxgw4e()as $nsjl4f=>$bwpu50){$luhe37=array(base64_decode('aWQ=')=>$nsjl4f,base64_decode('bGFiZWw=')=>$bwpu50[base64_decode('dGl0bGU=')],base64_decode('ZGVzY3JpcHRpb24=')=>(empty($bwpu50[base64_decode('ZGVzY3JpcHRpb24=')])?'':$bwpu50[base64_decode('ZGVzY3JpcHRpb24=')]),base64_decode('dHlwZQ==')=>$bwpu50[base64_decode('dHlwZQ==')],base64_decode('dmFsdWU=')=>$amar4b->$fkem51[$nsjl4f],base64_decode('ZGVmYXVsdA==')=>(empty($bwpu50[base64_decode('ZGVmYXVsdA==')])?'':$bwpu50[base64_decode('ZGVmYXVsdA==')]),base64_decode('dGlw')=>(empty($bwpu50[base64_decode('ZGVzY3JpcHRpb24=')])?'':$bwpu50[base64_decode('ZGVzY3JpcHRpb24=')]),base64_decode('cGxhY2Vob2xkZXI=')=>(empty($bwpu50[base64_decode('cGxhY2Vob2xkZXI=')])?'':$bwpu50[base64_decode('cGxhY2Vob2xkZXI=')]),);if(!empty($bwpu50[base64_decode('b3B0aW9ucw==')])){$luhe37[base64_decode('b3B0aW9ucw==')]=$bwpu50[base64_decode('b3B0aW9ucw==')];}$sbqx4c[$nsjl4f]=$luhe37;}$xdsb34=$this->$ikpc30->elkr35(new rdup36(base64_decode('R0VU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L21ldGhvZHM=')));$luhe37=$xdsb34->ernb38();$ubci52=array(base64_decode('aWQ=')=>$kreh47,base64_decode('aW5zdGFuY2VfaWQ=')=>$kreh47,base64_decode('dGl0bGU=')=>$amar4b->$fkem51[base64_decode('dGl0bGU=')],base64_decode('b3JkZXI=')=>$amar4b->$sosk53,base64_decode('ZW5hYmxlZA==')=>(base64_decode('eWVz')===$amar4b->$sjly54),base64_decode('bWV0aG9kX2lk')=>$amar4b->$wthn55,base64_decode('bWV0aG9kX3RpdGxl')=>$amar4b->$akcf56,base64_decode('bWV0aG9kX2Rlc2NyaXB0aW9u')=>$amar4b->$jjgb57,base64_decode('c2V0dGluZ3M=')=>$sbqx4c,base64_decode('X2xpbmtz')=>array(base64_decode('c2VsZg==')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L21ldGhvZHMv').$kreh47),),),base64_decode('Y29sbGVjdGlvbg==')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L21ldGhvZHM=')),),),base64_decode('ZGVzY3JpYmVz')=>array(array(base64_decode('aHJlZg==')=>otcn3c(base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43()),),),),);$this->pnhs39(200,$xdsb34->lril3a());$this->pnhs39(count($luhe37),1);$this->wwvg3b($ubci52,$luhe37);$xdsb34=$this->$ikpc30->elkr35(new rdup36(base64_decode('R0VU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L21ldGhvZHMv').$kreh47));$luhe37=$xdsb34->ernb38();$this->pnhs39(200,$xdsb34->lril3a());$this->pnhs39($ubci52,$luhe37);}/**
* Test getting all Shipping Zone Methods with a bad zone ID.
*
* @since 3.5.0
*/ public function oofc15(){szuz33($this->$gkhj22);$xdsb34=$this->$ikpc30->elkr35(new rdup36(base64_decode('R0VU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLzEvbWV0aG9kcw==')));$this->pnhs39(404,$xdsb34->lril3a());$xdsb34=$this->$ikpc30->elkr35(new rdup36(base64_decode('R0VU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLzEvbWV0aG9kcy8x')));$this->pnhs39(404,$xdsb34->lril3a());}/**
* Test getting a single Shipping Zone Method with a bad ID.
*
* @since 3.5.0
*/ public function rxpe16(){szuz33($this->$gkhj22);$jvji29=$this->yiyb1(base64_decode('Wm9uZSAx'));$xdsb34=$this->$ikpc30->elkr35(new rdup36(base64_decode('R0VU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L21ldGhvZHMvMQ==')));$this->pnhs39(404,$xdsb34->lril3a());}/**
* Test updating a Shipping Zone Method.
*
* @since 3.5.0
*/ public function niiw17(){szuz33($this->$gkhj22);$jvji29=$this->yiyb1(base64_decode('Wm9uZSAx'));$kreh47=$jvji29->baku48(base64_decode('ZmxhdF9yYXRl'));$yinw49=$jvji29->qofs4a();$amar4b=$yinw49[$kreh47];$kxec3f=new rdup36(base64_decode('R0VU'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L21ldGhvZHMv').$kreh47);$xdsb34=$this->$ikpc30->elkr35($kxec3f);$luhe37=$xdsb34->ernb38();$this->fmqz32(base64_decode('dGl0bGU='),$luhe37[base64_decode('c2V0dGluZ3M=')]);$this->pnhs39(base64_decode('RmxhdCByYXRl'),$luhe37[base64_decode('c2V0dGluZ3M=')][base64_decode('dGl0bGU=')][base64_decode('dmFsdWU=')]);$this->fmqz32(base64_decode('dGF4X3N0YXR1cw=='),$luhe37[base64_decode('c2V0dGluZ3M=')]);$this->pnhs39(base64_decode('dGF4YWJsZQ=='),$luhe37[base64_decode('c2V0dGluZ3M=')][base64_decode('dGF4X3N0YXR1cw==')][base64_decode('dmFsdWU=')]);$this->fmqz32(base64_decode('Y29zdA=='),$luhe37[base64_decode('c2V0dGluZ3M=')]);$this->pnhs39(base64_decode('MA=='),$luhe37[base64_decode('c2V0dGluZ3M=')][base64_decode('Y29zdA==')][base64_decode('dmFsdWU=')]);$kxec3f=new rdup36(base64_decode('UE9TVA=='),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L21ldGhvZHMv').$kreh47);$kxec3f->qgzp42(array(base64_decode('c2V0dGluZ3M=')=>array(base64_decode('Y29zdA==')=>5,),));$xdsb34=$this->$ikpc30->elkr35($kxec3f);$luhe37=$xdsb34->ernb38();$this->fmqz32(base64_decode('dGl0bGU='),$luhe37[base64_decode('c2V0dGluZ3M=')]);$this->pnhs39(base64_decode('RmxhdCByYXRl'),$luhe37[base64_decode('c2V0dGluZ3M=')][base64_decode('dGl0bGU=')][base64_decode('dmFsdWU=')]);$this->fmqz32(base64_decode('dGF4X3N0YXR1cw=='),$luhe37[base64_decode('c2V0dGluZ3M=')]);$this->pnhs39(base64_decode('dGF4YWJsZQ=='),$luhe37[base64_decode('c2V0dGluZ3M=')][base64_decode('dGF4X3N0YXR1cw==')][base64_decode('dmFsdWU=')]);$this->fmqz32(base64_decode('Y29zdA=='),$luhe37[base64_decode('c2V0dGluZ3M=')]);$this->pnhs39(base64_decode('NQ=='),$luhe37[base64_decode('c2V0dGluZ3M=')][base64_decode('Y29zdA==')][base64_decode('dmFsdWU=')]);$kxec3f=new rdup36(base64_decode('UE9TVA=='),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L21ldGhvZHMv').$kreh47);$kxec3f->qgzp42(array(base64_decode('c2V0dGluZ3M=')=>array(base64_decode('Y29zdA==')=>10,base64_decode('dGF4X3N0YXR1cw==')=>base64_decode('bm9uZQ=='),),));$xdsb34=$this->$ikpc30->elkr35($kxec3f);$luhe37=$xdsb34->ernb38();$this->fmqz32(base64_decode('dGl0bGU='),$luhe37[base64_decode('c2V0dGluZ3M=')]);$this->pnhs39(base64_decode('RmxhdCByYXRl'),$luhe37[base64_decode('c2V0dGluZ3M=')][base64_decode('dGl0bGU=')][base64_decode('dmFsdWU=')]);$this->fmqz32(base64_decode('dGF4X3N0YXR1cw=='),$luhe37[base64_decode('c2V0dGluZ3M=')]);$this->pnhs39(base64_decode('bm9uZQ=='),$luhe37[base64_decode('c2V0dGluZ3M=')][base64_decode('dGF4X3N0YXR1cw==')][base64_decode('dmFsdWU=')]);$this->fmqz32(base64_decode('Y29zdA=='),$luhe37[base64_decode('c2V0dGluZ3M=')]);$this->pnhs39(base64_decode('MTA='),$luhe37[base64_decode('c2V0dGluZ3M=')][base64_decode('Y29zdA==')][base64_decode('dmFsdWU=')]);$kxec3f=new rdup36(base64_decode('UE9TVA=='),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L21ldGhvZHMv').$kreh47);$kxec3f->qgzp42(array(base64_decode('c2V0dGluZ3M=')=>array(base64_decode('Y29zdA==')=>10,base64_decode('dGF4X3N0YXR1cw==')=>base64_decode('dGhpc19pc19ub3RfYV92YWxpZF9vcHRpb24='),),));$xdsb34=$this->$ikpc30->elkr35($kxec3f);$this->pnhs39(400,$xdsb34->lril3a());$this->lnbk41($luhe37[base64_decode('ZW5hYmxlZA==')]);$this->pnhs39(1,$luhe37[base64_decode('b3JkZXI=')]);$kxec3f=new rdup36(base64_decode('UE9TVA=='),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L21ldGhvZHMv').$kreh47);$kxec3f->qgzp42(array(base64_decode('ZW5hYmxlZA==')=>false,base64_decode('b3JkZXI=')=>2,));$xdsb34=$this->$ikpc30->elkr35($kxec3f);$luhe37=$xdsb34->ernb38();$this->yzou58($luhe37[base64_decode('ZW5hYmxlZA==')]);$this->pnhs39(2,$luhe37[base64_decode('b3JkZXI=')]);$this->fmqz32(base64_decode('Y29zdA=='),$luhe37[base64_decode('c2V0dGluZ3M=')]);$this->pnhs39(base64_decode('MTA='),$luhe37[base64_decode('c2V0dGluZ3M=')][base64_decode('Y29zdA==')][base64_decode('dmFsdWU=')]);}/**
* Test creating a Shipping Zone Method.
*
* @since 3.5.0
*/ public function lzpi18(){szuz33($this->$gkhj22);$jvji29=$this->yiyb1(base64_decode('Wm9uZSAx'));$kxec3f=new rdup36(base64_decode('UE9TVA=='),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L21ldGhvZHM='));$kxec3f->qgzp42(array(base64_decode('bWV0aG9kX2lk')=>base64_decode('ZmxhdF9yYXRl'),base64_decode('ZW5hYmxlZA==')=>false,base64_decode('b3JkZXI=')=>2,));$xdsb34=$this->$ikpc30->elkr35($kxec3f);$luhe37=$xdsb34->ernb38();$this->yzou58($luhe37[base64_decode('ZW5hYmxlZA==')]);$this->pnhs39(2,$luhe37[base64_decode('b3JkZXI=')]);$this->fmqz32(base64_decode('Y29zdA=='),$luhe37[base64_decode('c2V0dGluZ3M=')]);$this->pnhs39(base64_decode('MA=='),$luhe37[base64_decode('c2V0dGluZ3M=')][base64_decode('Y29zdA==')][base64_decode('dmFsdWU=')]);}/**
* Test deleting a Shipping Zone Method.
*
* @since 3.5.0
*/ public function cyei19(){szuz33($this->$gkhj22);$jvji29=$this->yiyb1(base64_decode('Wm9uZSAx'));$kreh47=$jvji29->baku48(base64_decode('ZmxhdF9yYXRl'));$yinw49=$jvji29->qofs4a();$amar4b=$yinw49[$kreh47];$kxec3f=new rdup36(base64_decode('REVMRVRF'),base64_decode('L3djL3YzL3NoaXBwaW5nL3pvbmVzLw==').$jvji29->pxoi43().base64_decode('L21ldGhvZHMv').$kreh47);$kxec3f->jdfb44(base64_decode('Zm9yY2U='),true);$xdsb34=$this->$ikpc30->elkr35($kxec3f);$this->pnhs39(200,$xdsb34->lril3a());}}?>
Function Calls
None |
Stats
MD5 | 4735ef6679e150ba6b22fe679cac7dda |
Eval Count | 0 |
Decode Time | 112 ms |