JWT token generation does not work without SSL, disable the appropriate tests.

Change-Id: Id25a6507ea11a1e3cfacc8b833d4fd404eaeae27
This commit is contained in:
Jan Holesovsky 2016-09-27 18:08:34 +02:00
parent dd9aeb8637
commit bfbc56f045

View file

@ -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