spec/integration/workplace-search/users_spec.rb in elastic-enterprise-search-7.17.1 vs spec/integration/workplace-search/users_spec.rb in elastic-enterprise-search-8.0.0.pre
- old
+ new
@@ -24,13 +24,7 @@
it 'gets the current user' do
response = client.current_user
expect(response.status).to eq 200
expect(response.body.keys).to eq ['email', 'username']
end
-
- it 'gets the current user with an access token' do
- response = client.current_user(get_token: true)
- expect(response.status).to eq 200
- expect(response.body.keys).to eq ['email', 'username', 'access_token']
- end
end
end