Skip to content

Commit 2c30bdc

Browse files
committed
Update response status in client test to 422 for error handling
1 parent fbd67f9 commit 2c30bdc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/business_central/client_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def test_refresh_token_throws_invalid_grant_exception
129129
)
130130
stub_request(:post, /#{BusinessCentral::Client::DEFAULT_LOGIN_URL}/)
131131
.to_return(
132-
status: 200,
132+
status: 422,
133133
headers: {
134134
'Content-Type': 'application/json'
135135
},

0 commit comments

Comments
 (0)