Change update check source to kmyblue origin
This commit is contained in:
parent
ee6186a197
commit
7696216cbd
7 changed files with 19 additions and 4 deletions
|
@ -6,7 +6,7 @@ RSpec.describe SoftwareUpdateCheckService, type: :service do
|
|||
subject { described_class.new }
|
||||
|
||||
shared_examples 'when the feature is enabled' do
|
||||
let(:full_update_check_url) { "#{update_check_url}?version=#{Mastodon::Version.to_s.split('+')[0]}" }
|
||||
let(:full_update_check_url) { "#{update_check_url}?version=#{Mastodon::Version.kmyblue_major}.#{Mastodon::Version.kmyblue_minor}-lts" }
|
||||
|
||||
let(:devops_role) { Fabricate(:user_role, name: 'DevOps', permissions: UserRole::FLAGS[:view_devops]) }
|
||||
let(:owner_user) { Fabricate(:user, role: UserRole.find_by(name: 'Owner')) }
|
||||
|
@ -139,7 +139,7 @@ RSpec.describe SoftwareUpdateCheckService, type: :service do
|
|||
end
|
||||
|
||||
context 'when using the default update checking API' do
|
||||
let(:update_check_url) { 'https://api.joinmastodon.org/update-check' }
|
||||
let(:update_check_url) { 'https://kmy.blue/update-check' }
|
||||
|
||||
it_behaves_like 'when the feature is enabled'
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue