diff options
author | Jay Doane <jaydoane@apache.org> | 2021-02-15 22:06:30 -0800 |
---|---|---|
committer | Jay Doane <jay.s.doane@gmail.com> | 2021-03-15 09:32:10 -0700 |
commit | 6fa2a6f8fccbee831ef05e847b7d9acdee8079ab (patch) | |
tree | a72d7141cb3c7188d13cd672cb463eb3e9cfb63b | |
parent | 00811b4a9c4df56defb7456431d44abb7c0baa79 (diff) | |
download | couchdb-6fa2a6f8fccbee831ef05e847b7d9acdee8079ab.tar.gz |
Include necessary dependency in jwtf keystore test setup & teardown
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 acbc002b5..1063a4527 100644 --- a/src/jwtf/test/jwtf_keystore_tests.erl +++ b/src/jwtf/test/jwtf_keystore_tests.erl @@ -22,7 +22,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), @@ -39,7 +39,7 @@ setup() -> teardown(_) -> - test_util:stop_applications([config, jwtf]). + test_util:stop_applications([couch_log, config, jwtf]). jwtf_keystore_test_() -> { |