HEX
Server: Apache
System: Linux darrell.nocdirect.com 4.18.0-513.18.2.el8_9.x86_64 #1 SMP Sat Mar 30 06:10:41 EDT 2024 x86_64
User: joderbya (1358)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: /home/joderbya/public_html/ss-servicos/beira/includes/stripe/tests/ApplicationFeeTest.php
<?php

namespace Stripe;

class ApplicationFeeTest extends TestCase
{
    public function testUrls()
    {
        $applicationFee = new ApplicationFee('abcd/efgh');
        $this->assertSame(
            $applicationFee->instanceUrl(),
            '/v1/application_fees/abcd%2Fefgh'
        );
    }

    public function testList()
    {
        self::authorizeFromEnv();
        $d = ApplicationFee::all();
        $this->assertSame($d->url, '/v1/application_fees');
    }
}