JWT token generation does not work without SSL, disable the appropriate tests.
Change-Id: Id25a6507ea11a1e3cfacc8b833d4fd404eaeae27
This commit is contained in:
parent
dd9aeb8637
commit
bfbc56f045
1 changed files with 4 additions and 0 deletions
|
@ -412,8 +412,11 @@ public:
|
|||
|
||||
// Register tests here.
|
||||
_tests.push_back(&UnitAdmin::testIncorrectPassword);
|
||||
#if ENABLE_SSL
|
||||
_tests.push_back(&UnitAdmin::testCorrectPassword);
|
||||
#endif
|
||||
_tests.push_back(&UnitAdmin::testWebSocketWithoutAuthToken);
|
||||
#if ENABLE_SSL
|
||||
_tests.push_back(&UnitAdmin::testWebSocketWithIncorrectAuthToken);
|
||||
_tests.push_back(&UnitAdmin::testAddDocNotify);
|
||||
_tests.push_back(&UnitAdmin::testUsersCount);
|
||||
|
@ -421,6 +424,7 @@ public:
|
|||
// FIXME make this one reliable, and enable again _tests.push_back(&UnitAdmin::testRmDocNotify);
|
||||
_tests.push_back(&UnitAdmin::testUsersCount);
|
||||
_tests.push_back(&UnitAdmin::testDocCount);
|
||||
#endif
|
||||
}
|
||||
|
||||
// Runs tests sequentially in _tests
|
||||
|
|
Loading…
Reference in a new issue