diff --git a/Tests/Recurly/GeneralLedgerAccount_Test.php b/Tests/Recurly/GeneralLedgerAccount_Test.php index baa95ab6..bad6cc01 100644 --- a/Tests/Recurly/GeneralLedgerAccount_Test.php +++ b/Tests/Recurly/GeneralLedgerAccount_Test.php @@ -8,7 +8,7 @@ function defaultResponses() { ); } - public function Recurly_GeneralLedgerAccount() { + public function testGeneralLedgerAccount() { $gla = Recurly_GeneralLedgerAccount::get('u90r5deeaxix', $this->client); $this->assertInstanceOf('Recurly_GeneralLedgerAccount', $gla); diff --git a/Tests/fixtures/general_ledger_accounts/create-201.xml b/Tests/fixtures/general_ledger_accounts/create-201.xml new file mode 100644 index 00000000..799effb0 --- /dev/null +++ b/Tests/fixtures/general_ledger_accounts/create-201.xml @@ -0,0 +1,12 @@ +HTTP/1.1 201 Created + Content-Type: application/xml; charset=utf-8 + + + + u90r5deeaxix + code1 + revenue + string + 2024-01-16T14:34:16Z + 2024-01-16T14:34:16Z + \ No newline at end of file diff --git a/Tests/fixtures/general_ledger_accounts/index-200-liability.xml b/Tests/fixtures/general_ledger_accounts/index-200-liability.xml new file mode 100644 index 00000000..58b3f1b8 --- /dev/null +++ b/Tests/fixtures/general_ledger_accounts/index-200-liability.xml @@ -0,0 +1,78 @@ +HTTP/1.1 200 OK + Content-Type: application/xml; charset=utf-8 + + + + + ty4utwr0mrgz + 90-557-279-6957 + liability + optimize rich content + 2023-11-22T16:36:34Z + 2023-11-22T16:36:34Z + + + twyyzw8vcm36 + 45-571-736-1179 + liability + incentivize sexy functionalities + 2023-11-16T19:45:05Z + 2023-11-16T19:45:05Z + + + twywtf01wkgb + 70-818-669-8644 + liability + generate transparent metrics + 2023-11-16T19:32:52Z + 2023-11-16T19:32:52Z + + + twywqfr48v9l + 7-271-680-5012 + liability + My main liability account + 2023-11-16T19:32:24Z + 2023-11-16T19:32:24Z + + + twyvjlhbnej2 + 1234 + liability + My main liability account + 2023-11-16T19:25:44Z + 2023-11-16T19:25:44Z + + + trkzlcm2pde8 + validategla + liability + HOWDY + 2023-10-20T15:22:49Z + 2023-10-20T15:22:49Z + + + trkzinjccchm + j + liability + HOWDY + 2023-10-20T15:22:24Z + 2023-10-20T15:22:24Z + + + tep8f2u4qq51 + get dat monayyy + liability + i can has money + 2023-08-16T15:45:40Z + 2023-08-16T15:45:40Z + + + tejv6lw4eovy + demo_liability + liability + i be descriptin' + 2023-08-15T21:42:35Z + 2023-09-13T15:38:04Z + + \ No newline at end of file diff --git a/Tests/fixtures/general_ledger_accounts/index-200-revenue.xml b/Tests/fixtures/general_ledger_accounts/index-200-revenue.xml new file mode 100644 index 00000000..5b5a9188 --- /dev/null +++ b/Tests/fixtures/general_ledger_accounts/index-200-revenue.xml @@ -0,0 +1,38 @@ +HTTP/1.1 200 OK + Content-Type: application/xml; charset=utf-8 + + + + + u90r5deeaxix + string + revenue + string + 2024-01-16T14:34:16Z + 2024-01-16T14:34:16Z + + + trl0h3br1dl7 + 100 + revenue + HOWDY + 2023-10-20T15:27:46Z + 2023-10-20T15:27:46Z + + + trkz0atorlk3 + NEW code + revenue + NEW description + 2023-10-20T15:19:32Z + 2023-10-20T15:29:30Z + + + thproqnpcuwp + 303 + revenue + + 2023-08-31T20:46:04Z + 2023-08-31T20:46:04Z + + \ No newline at end of file diff --git a/Tests/fixtures/general_ledger_accounts/index-200.xml b/Tests/fixtures/general_ledger_accounts/index-200.xml new file mode 100644 index 00000000..c78664e2 --- /dev/null +++ b/Tests/fixtures/general_ledger_accounts/index-200.xml @@ -0,0 +1,110 @@ +HTTP/1.1 200 OK + Content-Type: application/xml; charset=utf-8 + + + + + u90r5deeaxix + string + revenue + string + 2024-01-16T14:34:16Z + 2024-01-16T14:34:16Z + + + ty4utwr0mrgz + 90-557-279-6957 + liability + optimize rich content + 2023-11-22T16:36:34Z + 2023-11-22T16:36:34Z + + + twyyzw8vcm36 + 45-571-736-1179 + liability + incentivize sexy functionalities + 2023-11-16T19:45:05Z + 2023-11-16T19:45:05Z + + + twywtf01wkgb + 70-818-669-8644 + liability + generate transparent metrics + 2023-11-16T19:32:52Z + 2023-11-16T19:32:52Z + + + twywqfr48v9l + 7-271-680-5012 + liability + My main liability account + 2023-11-16T19:32:24Z + 2023-11-16T19:32:24Z + + + twyvjlhbnej2 + 1234 + liability + My main liability account + 2023-11-16T19:25:44Z + 2023-11-16T19:25:44Z + + + trl0h3br1dl7 + 100 + revenue + HOWDY + 2023-10-20T15:27:46Z + 2023-10-20T15:27:46Z + + + trkzlcm2pde8 + validategla + liability + HOWDY + 2023-10-20T15:22:49Z + 2023-10-20T15:22:49Z + + + trkzinjccchm + j + liability + HOWDY + 2023-10-20T15:22:24Z + 2023-10-20T15:22:24Z + + + trkz0atorlk3 + NEW code + revenue + NEW description + 2023-10-20T15:19:32Z + 2023-10-20T15:29:30Z + + + thproqnpcuwp + 303 + revenue + + 2023-08-31T20:46:04Z + 2023-08-31T20:46:04Z + + + tep8f2u4qq51 + get dat monayyy + liability + i can has money + 2023-08-16T15:45:40Z + 2023-08-16T15:45:40Z + + + tejv6lw4eovy + demo_liability + liability + i be descriptin' + 2023-08-15T21:42:35Z + 2023-09-13T15:38:04Z + + \ No newline at end of file diff --git a/Tests/fixtures/general_ledger_accounts/show-200.xml b/Tests/fixtures/general_ledger_accounts/show-200.xml new file mode 100644 index 00000000..a4010aff --- /dev/null +++ b/Tests/fixtures/general_ledger_accounts/show-200.xml @@ -0,0 +1,12 @@ +HTTP/1.1 200 OK + Content-Type: application/xml; charset=utf-8 + + + + u90r5deeaxix + code1 + revenue + string + 2024-01-16T14:34:16Z + 2024-01-16T14:34:16Z + \ No newline at end of file