diff options
author | Jay Doane <jaydoane@apache.org> | 2021-02-15 22:06:30 -0800 |
---|---|---|
committer | Jay Doane <jaydoane@apache.org> | 2021-02-15 22:06:30 -0800 |
commit | bcda1f992b024217debb0d34d42cca57be790a3f (patch) | |
tree | 54c9c6a25ac69842fe4612efb44ea28621c95a1c | |
parent | dd0c3afb26a6cf82fc7d137a9d7018611c6447bb (diff) | |
download | couchdb-jwtf-keystore-test-fix.tar.gz |
Include necessary dependency in jwtf keystore test setup & teardownjwtf-keystore-test-fix
The config application depends on couch_log, so include it when
setting up and tearing down tests.
-rw-r--r-- | src/jwtf/test/jwtf_keystore_tests.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jwtf/test/jwtf_keystore_tests.erl b/src/jwtf/test/jwtf_keystore_tests.erl index 9ec943653..c0c55fb0b 100644 --- a/src/jwtf/test/jwtf_keystore_tests.erl +++ b/src/jwtf/test/jwtf_keystore_tests.erl @@ -20,7 +20,7 @@ -define(EC_SECRET, "-----BEGIN PUBLIC KEY-----\\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEDsr0lz/Dg3luarb+Kua0Wcj9WrfR23os\\nwHzakglb8GhWRDn+oZT0Bt/26sX8uB4/ij9PEOLHPo+IHBtX4ELFFVr5GTzlqcJe\\nyctaTDd1OOAPXYuc67EWtGZ3pDAzztRs\\n-----END PUBLIC KEY-----\\n"). setup() -> - test_util:start_applications([config, jwtf]), + test_util:start_applications([couch_log, config, jwtf]), config:set("jwt_keys", "hmac:hmac", ?HMAC_SECRET), config:set("jwt_keys", "rsa:hmac", ?HMAC_SECRET), config:set("jwt_keys", "ec:hmac", ?HMAC_SECRET), @@ -34,7 +34,7 @@ setup() -> config:set("jwt_keys", "ec:ec", ?EC_SECRET). teardown(_) -> - test_util:stop_applications([config, jwtf]). + test_util:stop_applications([couch_log, config, jwtf]). jwtf_keystore_test_() -> { |