/
home
/
sjslayjy
/
public_html
/
theweavenest
/
vendor
/
stripe
/
stripe-php
/
tests
/
Stripe
/
Upload File
HOME
<?php namespace Stripe; /** * @internal * @covers \Stripe\AccountLink */ final class AccountLinkTest extends \Stripe\TestCase { use TestHelper; public function testIsCreatable() { $this->expectsRequest( 'post', '/v1/account_links' ); $resource = AccountLink::create([ 'account' => 'acct_123', 'refresh_url' => 'https://stripe.com/refresh_url', 'return_url' => 'https://stripe.com/return_url', 'type' => 'account_onboarding', ]); static::assertInstanceOf(\Stripe\AccountLink::class, $resource); } }