message: e2e tests for mass-assign-chall
diff: @@ -22,4 +22,11 @@ describe('/#/register', () => {
  protractor.expect.challengeSolved({challenge: 'XSS Tier 2'})
  })
  +
  + describe('challenge "registerAdmin"', () => {
  + it('should be possible to register admin user using REST API', () => {
  + browser.executeScript('var $http = angular.element(document.body).injector().get(\'$http\'); $http.post(\'/api/Users/\', {"email": \'testing@test.com\', "password": \'pwned\',"isAdmin":true});')
  + })
  + protractor.expect.challengeSolved({challenge: 'Admin Registration'})
  + })
  })
  