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

14 lines
283 B
PHP

<?php
namespace Stripe;
class TokenTest extends TestCase
{
public function testUrls()
{
$this->assertSame(Token::classUrl(), '/v1/tokens');
$token = new Token('abcd/efgh');
$this->assertSame($token->instanceUrl(), '/v1/tokens/abcd%2Fefgh');
}
}