mirror of
				https://github.com/moby/moby.git
				synced 2022-11-09 12:21:53 -05:00 
			
		
		
		
	static_registry: update the test for the new struct
Docker-DCO-1.1-Signed-off-by: Vincent Batts <vbatts@redhat.com> (github: vbatts)
This commit is contained in:
		
							parent
							
								
									2b855afaee
								
							
						
					
					
						commit
						7790a77b6a
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -22,11 +22,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