Skip to content

Commit

Permalink
Fix unit test and limit matrix for time being
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Wenger committed Feb 21, 2024
1 parent 72c0287 commit 2be5516
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3"]
ruby: ["2.7"]
runs-on: ${{ matrix.os }}
permissions:
contents: read
Expand Down
4 changes: 2 additions & 2 deletions spec/auth/oauth_helper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
@config = AvalaraSdk::Configuration.new
@config.client_id = ENV["CLIENT_ID"]
@config.client_secret = " "
@config.environment='qa'
@config.environment='production'
@config.app_name="testApp"
@config.app_version="2.3.1"
@config.machine_name="AVL_WIN_007"
Expand All @@ -18,7 +18,7 @@
it 'should be to initiate the device code flow' do
begin
device_auth_result = AvalaraSdk::Auth::OAuthHelper.initiate_device_authorization_flow("avatax_api", @config)
expect(device_auth_result.verification_url).to eq "https://ai-awsfqa.avlr.sh/device"
expect(device_auth_result.verification_url).to eq "https://identity.avalara.com/device"
token_result = AvalaraSdk::Auth::OAuthHelper.get_access_token_for_device_flow(device_auth_result.device_code, @config)
expect(token_result.error_message).to eq "authorization_pending"
expect(token_result.http_status_code).to eq 400
Expand Down

0 comments on commit 2be5516

Please sign in to comment.