mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 23:50:36 -05:00
Tests: dummy names instead of a real one
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6e871e9ebb
commit
d5d06d4169
6 files changed
+11
-11
No files matched your search
@@ -44,7 +44,7 @@ class FakeAirTrail
|
||||
query = URI.decode_www_form(req.uri.query.to_s).to_h
|
||||
case [ req.method, path ]
|
||||
in [ :get, "/api/v1/me" ]
|
||||
json(200, data: { id: "u-ricky", username: "ricky", displayName: "Ricky", role: nil, isOwner: true,
|
||||
json(200, data: { id: "u-jane", username: "jane", displayName: "Jane", role: nil, isOwner: true,
|
||||
permissions: [], credential: { kind: "apiKey", scopes: @scopes } })
|
||||
in [ :get, "/api/v1/airports" ]
|
||||
code = query["query"].to_s.upcase
|
||||
|
||||
Reference in new issue
Block a user