This repository has been archived by the owner on Mar 18, 2024. It is now read-only.
generated from spatie/package-skeleton-laravel
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Fixtures to use Saloon v2 format
- Loading branch information
1 parent
d78e2f4
commit 6c3d019
Showing
45 changed files
with
533 additions
and
1,451 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,6 @@ | |
->tap(fn () => fakeSaloonRequest(GetRequest::class)) | ||
->expect(fn () => Linode::account()) | ||
->toBeInstanceOf(AccountDTO::class) | ||
->company->toBe('mwangithegreat') | ||
->email->toBe('[email protected]') | ||
->uid->toBe('D09103B1-20FE-11EA-B88C0CC47AEB2714'); | ||
->company->toBe('Test Company Unlimited') | ||
->email->toBe('[email protected]') | ||
->uid->toBe('D09103B1-FFFF-AAAA-B88C000000000004'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"statusCode":401,"headers":{"Server":"nginx","Date":"Tue, 04 Jul 2023 08:37:09 GMT","Content-Type":"application\/json","Content-Length":"41","Connection":"keep-alive","X-OAuth-Scopes":"unknown","X-Accepted-OAuth-Scopes":"linodes:read_write","X-Frame-Options":"DENY","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"HEAD, GET, OPTIONS, POST, PUT, DELETE","Access-Control-Allow-Headers":"Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter","X-Spec-Version":"4.157.1","X-RateLimit-Limit":"800","X-RateLimit-Remaining":"797","X-RateLimit-Reset":"1688459878","Retry-After":"48"},"data":"{\"errors\": [{\"reason\": \"Invalid Token\"}]}"} | ||
{"statusCode":200,"headers":{"Content-Type":"application\/json","Content-Length":"2","X-OAuth-Scopes":"*","X-Accepted-OAuth-Scopes":"linodes:read_write","X-Frame-Options":["DENY","DENY"],"Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"HEAD, GET, OPTIONS, POST, PUT, DELETE","Access-Control-Allow-Headers":"Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter","X-Spec-Version":"4.171.0","X-Customer-UUID":"D09103B1-FFFF-AAAA-B88C000000000004","X-RateLimit-Limit":"400","X-RateLimit-Remaining":"399","X-RateLimit-Reset":"1706644595","Retry-After":"60","Access-Control-Allow-Credentials":"true","Access-Control-Expose-Headers":"X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status","Content-Security-Policy":"default-src 'none'","Vary":"Authorization, X-Filter","X-Content-Type-Options":"nosniff","X-XSS-Protection":"1; mode=block","Strict-Transport-Security":"max-age=31536000","Expires":"Tue, 30 Jan 2024 19:55:34 GMT","Cache-Control":"max-age=0, no-cache, no-store","Pragma":"no-cache","Date":"Tue, 30 Jan 2024 19:55:34 GMT","Connection":"keep-alive"},"data":"{}"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"statusCode":401,"headers":{"Server":"nginx","Date":"Tue, 04 Jul 2023 08:37:15 GMT","Content-Type":"application\/json","Content-Length":"41","Connection":"keep-alive","X-OAuth-Scopes":"unknown","X-Accepted-OAuth-Scopes":"firewall:read_write","X-Frame-Options":"DENY","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"HEAD, GET, OPTIONS, POST, PUT, DELETE","Access-Control-Allow-Headers":"Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter","X-Spec-Version":"4.157.1","X-RateLimit-Limit":"800","X-RateLimit-Remaining":"797","X-RateLimit-Reset":"1688459879","Retry-After":"43"},"data":"{\"errors\": [{\"reason\": \"Invalid Token\"}]}"} | ||
{"statusCode":200,"headers":{"Content-Type":"application\/json","Content-Length":"2","X-OAuth-Scopes":"*","X-Accepted-OAuth-Scopes":"firewall:read_write","X-Frame-Options":["DENY","DENY"],"Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"HEAD, GET, OPTIONS, POST, PUT, DELETE","Access-Control-Allow-Headers":"Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter","X-Spec-Version":"4.171.0","X-Customer-UUID":"D09103B1-FFFF-AAAA-B88C000000000004","X-RateLimit-Limit":"400","X-RateLimit-Remaining":"398","X-RateLimit-Reset":"1706631790","Retry-After":"0","Access-Control-Allow-Credentials":"true","Access-Control-Expose-Headers":"X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status","Content-Security-Policy":"default-src 'none'","Vary":"Authorization, X-Filter","X-Content-Type-Options":"nosniff","X-XSS-Protection":"1; mode=block","Strict-Transport-Security":"max-age=31536000","Expires":"Tue, 30 Jan 2024 16:23:09 GMT","Cache-Control":"max-age=0, no-cache, no-store","Pragma":"no-cache","Date":"Tue, 30 Jan 2024 16:23:09 GMT","Connection":"keep-alive"},"data":"{}"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,38 @@ | ||
{"statusCode":401,"headers":{"Server":"nginx","Date":"Mon, 03 Jul 2023 13:13:06 GMT","Content-Type":"application\/json","Content-Length":"41","Connection":"keep-alive","Cache-Control":"private, max-age=0, s-maxage=0, no-cache, no-store","X-OAuth-Scopes":"unknown","X-Accepted-OAuth-Scopes":"account:read_only","X-Frame-Options":"DENY","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"HEAD, GET, OPTIONS, POST, PUT, DELETE","Access-Control-Allow-Headers":"Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter","X-Spec-Version":"4.157.1","Vary":"Authorization, X-Filter","X-RateLimit-Limit":"800","X-RateLimit-Remaining":"799","X-RateLimit-Reset":"1688390047","Retry-After":"60"},"data":"{\"errors\": [{\"reason\": \"Invalid Token\"}]}"} | ||
{ | ||
"statusCode": 200, | ||
"headers": { | ||
"Content-Type": "application\/json", | ||
"Content-Length": "680", | ||
"X-OAuth-Scopes": "*", | ||
"X-Accepted-OAuth-Scopes": "account:read_only", | ||
"X-Frame-Options": [ | ||
"DENY", | ||
"DENY" | ||
], | ||
"Access-Control-Allow-Origin": "*", | ||
"Access-Control-Allow-Methods": "HEAD, GET, OPTIONS, POST, PUT, DELETE", | ||
"Access-Control-Allow-Headers": "Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter", | ||
"X-Spec-Version": "4.171.0", | ||
"Vary": [ | ||
"Authorization, X-Filter", | ||
"Authorization, X-Filter" | ||
], | ||
"X-Customer-UUID": "D09103B1-FFFF-AAAA-B88C000000000004", | ||
"X-RateLimit-Limit": "400", | ||
"X-RateLimit-Remaining": "399", | ||
"X-RateLimit-Reset": "1706632201", | ||
"Retry-After": "60", | ||
"Access-Control-Allow-Credentials": "true", | ||
"Access-Control-Expose-Headers": "X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status", | ||
"Content-Security-Policy": "default-src 'none'", | ||
"X-Content-Type-Options": "nosniff", | ||
"X-XSS-Protection": "1; mode=block", | ||
"Strict-Transport-Security": "max-age=31536000", | ||
"Expires": "Tue, 30 Jan 2024 16:29:01 GMT", | ||
"Cache-Control": "max-age=0, no-cache, no-store", | ||
"Pragma": "no-cache", | ||
"Date": "Tue, 30 Jan 2024 16:29:01 GMT", | ||
"Connection": "keep-alive" | ||
}, | ||
"data": "{\"company\": \"Test Company Unlimited\", \"email\": \"[email protected]\", \"first_name\": \"Samuel\", \"last_name\": \"Mwangi\", \"address_1\": \"P.O Box 123\", \"address_2\": \"\", \"city\": \"Nairobi\", \"state\": \"Nairobi City\", \"zip\": \"00100\", \"country\": \"KE\", \"phone\": \"\", \"balance\": 1000.0, \"tax_id\": \"\", \"billing_source\": \"linode\", \"credit_card\": {\"last_four\": \"1234\", \"expiry\": \"05\/2038\"}, \"balance_uninvoiced\": 0.09, \"active_since\": \"2007-08-19T09:18:33\", \"capabilities\": [\"Linodes\", \"NodeBalancers\", \"Block Storage\", \"Object Storage\", \"Kubernetes\", \"Cloud Firewall\", \"Vlans\", \"LKE HA Control Planes\", \"Machine Images\", \"VPCs\"], \"active_promotions\": [], \"euuid\": \"D09103B1-FFFF-AAAA-B88C000000000004\"}" | ||
} |
Oops, something went wrong.