New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ZEPPELIN-2778] Unit test for credential module (zeppelin-web) #2493
[ZEPPELIN-2778] Unit test for credential module (zeppelin-web) #2493
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Worked on local
Apart from some nitpicking in code(which doesn't matter), everything looks good to go 👍
.success(function (data, status, headers, config) { | ||
$scope.credentialInfo = _.map(data.body.userCredentials, function (value, prop) { | ||
return {entity: prop, password: value.password, username: value.username} | ||
.success(function (data, status, headers, config) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@1ambda, In Angular 1.6, Promise.success has been removed. https://github.com/angular/angular.js/blob/master/CHANGELOG.md#160-rainbow-tsunami-2016-12-08
Even though Zeppelin uses 1.5, it's good to be aware of this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the information, we can solve that issue in ZEPPELIN-2788
Thanks for the review @sravan-s Merge if no more discussion |
What is this PR for?
Added few test cases for the credential module under
zeppelin-web/
Additionally,
configuration.html
to add the missingtbody
.What type of PR is it?
[Improvement]
What is the Jira issue?
ZEPPELIN-2778
How should this be tested?
zeppelin-web
yarn install
(ornpm install
)yarn run test
(ornpm run test
)The test should pass.
Questions: