ok

Mini Shell

Direktori : /home2/selectio/public_html/y1jobportal.in/razorpay-php-2.9.0/tests/
Upload File :
Current File : //home2/selectio/public_html/y1jobportal.in/razorpay-php-2.9.0/tests/CardTest.php

<?php

namespace Razorpay\Tests;

use Razorpay\Api\Request;

class CardTest extends TestCase
{
    /**
     * Specify unique card id
     */
    
    private $cardId = "card_LcQgzpfvWP0UKF";

    public function setUp(): void
    {
        parent::setUp();
    }
    
    /**
     * Fetch Card details
     */
    public function testFetchCard()
    {
        $data = $this->api->card->fetch($this->cardId);
        
        $this->assertTrue(in_array($this->cardId, $data->toArray()));
    }

}

Zerion Mini Shell 1.0