1
0
mirror of https://gitlab.com/openlp/website.git synced 2024-12-22 04:52:49 +00:00
website/files/stripe/tests/ApplicationFeeTest.php

23 lines
477 B
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');
}
}