Port RS auth job removal to Solid Queue
This commit is contained in:
@@ -5,6 +5,9 @@ RSpec.describe RemoteStorageExpireAuthorizationJob, type: :job do
|
||||
allow_any_instance_of(AppCatalog::WebApp).to(
|
||||
receive(:update_metadata).and_return(true)
|
||||
)
|
||||
allow_any_instance_of(RemoteStorageAuthorization).to(
|
||||
receive(:remove_token_expiry_job).and_return(nil)
|
||||
)
|
||||
|
||||
@user = create :user, cn: "ronald", ou: "kosmos.org"
|
||||
@rs_authorization = create :remote_storage_authorization,
|
||||
|
||||
Reference in New Issue
Block a user