Rename the update auth switch to application_token_source and drop its ENV default

This commit is contained in:
2026-08-05 18:53:04 +02:00
parent e2c6eacce1
commit 1e974bdcc9
5 changed files with 10 additions and 12 deletions
+2 -2
View File
@@ -54,9 +54,9 @@ RSpec.describe "GET /update", type: :request do
expect(response).to have_http_status(:unauthorized)
end
context "with update_secret_source :database" do
context "with application_token_source :database" do
before do
allow(WarpEngine.config).to receive(:update_secret_source).and_return(:database)
allow(WarpEngine.config).to receive(:application_token_source).and_return(:database)
allow(WarpEngine.config).to receive(:application_token_owner_class).and_return("TestOwner")
end