forked from TrueCloudLab/distribution
Merge pull request #4607 from vbatts/vbatts-static_registry
static registry support
This commit is contained in:
commit
c914523873
2 changed files with 47 additions and 22 deletions
|
@ -24,11 +24,11 @@ func spawnTestRegistry(t *testing.T) *Registry {
|
|||
}
|
||||
|
||||
func TestPingRegistryEndpoint(t *testing.T) {
|
||||
standalone, err := pingRegistryEndpoint(makeURL("/v1/"))
|
||||
regInfo, err := pingRegistryEndpoint(makeURL("/v1/"))
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
assertEqual(t, standalone, true, "Expected standalone to be true (default)")
|
||||
assertEqual(t, regInfo.Standalone, true, "Expected standalone to be true (default)")
|
||||
}
|
||||
|
||||
func TestGetRemoteHistory(t *testing.T) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue