Skip to content
This repository has been archived by the owner on Aug 17, 2021. It is now read-only.

Commit

Permalink
Remove site key length tests
Browse files Browse the repository at this point in the history
  • Loading branch information
UltCombo committed Feb 26, 2018
1 parent a04b614 commit e240563
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions tests/directive_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,6 @@ describe('directive: vcRecaptcha', function () {
elementHtml = '<div vc-recaptcha></div>';
expectedMessage = 'You need to set the "key" attribute to your public reCaptcha key. If you don\'t have a key, please get one from https://www.google.com/recaptcha/admin/create';
});

it('should throw an error - key length is not 40 caracters long', function () {
elementHtml = '<div vc-recaptcha key="key"></div>';
expectedMessage = 'You need to set the "key" attribute to your public reCaptcha key. If you don\'t have a key, please get one from https://www.google.com/recaptcha/admin/create';

$scope.key = 'abc';
});

it('should throw an error - key length is not 40 caracters long - key changed', function () {
elementHtml = '<div vc-recaptcha key="key"></div>';
expectedMessage = 'You need to set the "key" attribute to your public reCaptcha key. If you don\'t have a key, please get one from https://www.google.com/recaptcha/admin/create';

$scope.key = 'abc1';
});
});

describe('widgetId', function () {
Expand Down

0 comments on commit e240563

Please sign in to comment.