Skip to content

Fix Budget and Budget Additional Kitchen Tests #427

@kwraith05

Description

@kwraith05

The following error occurs when kitchen tests try to verify the budget or budget additional were created.

 Command: `curl -s -X GET -H "Authorization: Bearer "`gcloud auth print-access-token` https://billingbudgets.googleapis.com/v1beta1/billingAccounts/01D904-DAF6EC-F34EF7/budgets/28ae0ae1-d083-41dc-8684-5bb4dd15061a` has expected structure
     expected {:error=>{:code=>401, :message=>"Request is missing required authentication credential. Expected OAut...ttps://developers.google.com/identity/sign-in/web/devconsole-project.", :status=>"UNAUTHENTICATED"}} to match #<RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher:0x0000560ec72ca598 @expected={:name=>"billingAccounts/01D904-DAF6EC-F34EF7/budgets/28ae0ae1-d083-41dc-8684-5bb4dd15061a", :displayName=>"Budget For budget-project-fhfi-fc25", :budgetFilter=>#<RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher:0x0000560ec72ca8e0 @expected={:creditTypesTreatment=>"INCLUDE_ALL_CREDITS"}>, :amount=>#<RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher:0x0000560ec72ca660 @expected={:specifiedAmount=>#<RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher:0x0000560ec72ca728 @expected={:units=>"10"}>}>}>

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2high priority issuesbugSomething isn't workingtriagedScoped and ready for work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions