forked from toolshed/abra
		
	test: use recipes url
This commit is contained in:
		| @ -21,8 +21,8 @@ func TestGet(t *testing.T) { | |||||||
| 			recipe: Recipe{ | 			recipe: Recipe{ | ||||||
| 				Name:          "foo", | 				Name:          "foo", | ||||||
| 				Dir:           path.Join(cfg.GetAbraDir(), "/recipes/foo"), | 				Dir:           path.Join(cfg.GetAbraDir(), "/recipes/foo"), | ||||||
| 				GitURL:        "https://git.coopcloud.tech/toolshed/foo.git", | 				GitURL:        "https://git.coopcloud.tech/coop-cloud/foo.git", | ||||||
| 				SSHURL:        "ssh://git@git.coopcloud.tech:2222/toolshed/foo.git", | 				SSHURL:        "ssh://git@git.coopcloud.tech:2222/coop-cloud/foo.git", | ||||||
| 				ComposePath:   path.Join(cfg.GetAbraDir(), "recipes/foo/compose.yml"), | 				ComposePath:   path.Join(cfg.GetAbraDir(), "recipes/foo/compose.yml"), | ||||||
| 				ReadmePath:    path.Join(cfg.GetAbraDir(), "recipes/foo/README.md"), | 				ReadmePath:    path.Join(cfg.GetAbraDir(), "recipes/foo/README.md"), | ||||||
| 				SampleEnvPath: path.Join(cfg.GetAbraDir(), "recipes/foo/.env.sample"), | 				SampleEnvPath: path.Join(cfg.GetAbraDir(), "recipes/foo/.env.sample"), | ||||||
| @ -35,8 +35,8 @@ func TestGet(t *testing.T) { | |||||||
| 				Name:          "foo", | 				Name:          "foo", | ||||||
| 				EnvVersion:    "1.2.3", | 				EnvVersion:    "1.2.3", | ||||||
| 				Dir:           path.Join(cfg.GetAbraDir(), "/recipes/foo"), | 				Dir:           path.Join(cfg.GetAbraDir(), "/recipes/foo"), | ||||||
| 				GitURL:        "https://git.coopcloud.tech/toolshed/foo.git", | 				GitURL:        "https://git.coopcloud.tech/coop-cloud/foo.git", | ||||||
| 				SSHURL:        "ssh://git@git.coopcloud.tech:2222/toolshed/foo.git", | 				SSHURL:        "ssh://git@git.coopcloud.tech:2222/coop-cloud/foo.git", | ||||||
| 				ComposePath:   path.Join(cfg.GetAbraDir(), "recipes/foo/compose.yml"), | 				ComposePath:   path.Join(cfg.GetAbraDir(), "recipes/foo/compose.yml"), | ||||||
| 				ReadmePath:    path.Join(cfg.GetAbraDir(), "recipes/foo/README.md"), | 				ReadmePath:    path.Join(cfg.GetAbraDir(), "recipes/foo/README.md"), | ||||||
| 				SampleEnvPath: path.Join(cfg.GetAbraDir(), "recipes/foo/.env.sample"), | 				SampleEnvPath: path.Join(cfg.GetAbraDir(), "recipes/foo/.env.sample"), | ||||||
| @ -100,7 +100,7 @@ func TestGetVersionLabelLocalDoesNotUseTimeoutLabel(t *testing.T) { | |||||||
| 		// returns it. hopefully this won't fail too often! if you're here because | 		// returns it. hopefully this won't fail too often! if you're here because | ||||||
| 		// of a failure, just update the `defaultTimeoutLabel` value & permalink | 		// of a failure, just update the `defaultTimeoutLabel` value & permalink | ||||||
| 		// below | 		// below | ||||||
| 		// https://git.coopcloud.tech/toolshed/traefik/src/commit/ac3a47fe8ca3ef92db84f64cfedfbb348000faee/.env.sample#L2 | 		// https://git.coopcloud.tech/coop-cloud/traefik/src/commit/ac3a47fe8ca3ef92db84f64cfedfbb348000faee/.env.sample#L2 | ||||||
| 		defaultTimeoutLabel := "300" | 		defaultTimeoutLabel := "300" | ||||||
| 		assert.NotEqual(t, label, defaultTimeoutLabel) | 		assert.NotEqual(t, label, defaultTimeoutLabel) | ||||||
| 	} | 	} | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user