REDROOM
PHP 7.4.33
Path:
Logout
Edit File
Size: 693 B
Close
/home/godevadmin/www/admin/braintree/final/braintree_php-master/tests/unit/ClientApi/ClientTokenTest.php
Text
Base64
<?php namespace Test\Unit\ClientApi; require_once dirname(dirname(__DIR__)) . '/Setup.php'; use Test\Setup; use Braintree; class ClientTokenTest extends Setup { public function testErrorsWhenCreditCardOptionsGivenWithoutCustomerId() { $this->setExpectedException('InvalidArgumentException', 'invalid keys: options[makeDefault]'); Braintree\ClientToken::generate(["options" => ["makeDefault" => true]]); } public function testErrorsWhenInvalidArgumentIsSupplied() { $this->setExpectedException('InvalidArgumentException', 'invalid keys: customrId'); Braintree\ClientToken::generate(["customrId" => "1234"]); } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 1
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
ClientTokenTest.php
693 B
lrwxrwxr-x
2023-11-07 19:59:46
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).