Remove rs namespace from Redis keys

Superfluous, since the whole db should be RS only
This commit is contained in:
Râu Cao
2023-11-01 21:48:16 +01:00
parent 56c127ca0c
commit 92310d434a
3 changed files with 7 additions and 7 deletions

View File

@@ -20,7 +20,7 @@ RSpec.describe RemoteStorageExpireAuthorizationJob, type: :job do
}
it "removes the RS authorization from redis" do
redis_key = "rs:authorizations:#{@user.address}:#{@rs_authorization.token}"
redis_key = "authorizations:#{@user.cn}:#{@rs_authorization.token}"
expect(redis.keys(redis_key)).to_not be_empty
perform_enqueued_jobs { job }