Project

General

Profile

Revision 64f6a1f2

Added by Dmitri Dolguikh about 8 years ago

Fixes #8393: added support for basic auth for standalone registries

View differences:

test/units/docker_registry_test.rb
16 16
    end
17 17
    assert r.used_organization_ids.include?(organization.id)
18 18
  end
19

  
20
  test 'password is stored encrypted' do
21
    r = as_admin { FactoryGirl.create(:docker_registry) }
22
    assert r.is_decryptable?(r.password_in_db)
23
  end
19 24
end

Also available in: Unified diff