Skip to content

Commit 476657d

Browse files
committed
config_media_url.git => config_lfs_url.git (used for integration tests)
1 parent ce06758 commit 476657d

File tree

10 files changed

+8
-8
lines changed

10 files changed

+8
-8
lines changed

commands/env_test.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func TestEnv(t *testing.T) {
2525
}
2626

2727
func TestEnvWithMediaUrl(t *testing.T) {
28-
repo := NewRepository(t, "config_media_url")
28+
repo := NewRepository(t, "config_lfs_url")
2929
defer repo.Test()
3030

3131
cmd := repo.Command("env")
@@ -79,24 +79,24 @@ func TestEnvWithConfiguredSubmodule(t *testing.T) {
7979
repo := NewRepository(t, "submodule")
8080
defer repo.Test()
8181

82-
repo.AddPath(repo.Path, "config_media_url")
82+
repo.AddPath(repo.Path, "config_lfs_url")
8383
repo.Paths = repo.Paths[1:]
8484

8585
cmd := repo.Command("env")
8686

8787
SetConfigOutput(cmd, map[string]string{
8888
"Endpoint": "http://foo/bar",
89-
"LocalWorkingDir": filepath.Join(repo.Path, "config_media_url"),
90-
"LocalGitDir": filepath.Join(repo.Path, ".git", "modules", "config_media_url"),
91-
"LocalMediaDir": filepath.Join(repo.Path, ".git", "modules", "config_media_url", "lfs", "objects"),
92-
"TempDir": filepath.Join(repo.Path, ".git", "modules", "config_media_url", "lfs", "tmp"),
89+
"LocalWorkingDir": filepath.Join(repo.Path, "config_lfs_url"),
90+
"LocalGitDir": filepath.Join(repo.Path, ".git", "modules", "config_lfs_url"),
91+
"LocalMediaDir": filepath.Join(repo.Path, ".git", "modules", "config_lfs_url", "lfs", "objects"),
92+
"TempDir": filepath.Join(repo.Path, ".git", "modules", "config_lfs_url", "lfs", "tmp"),
9393
})
9494

9595
cmd.Before(func() {
96-
submodPath := filepath.Join(Root, "commands", "repos", "config_media_url.git")
96+
submodPath := filepath.Join(Root, "commands", "repos", "config_lfs_url.git")
9797
exec.Command("git", "submodule", "add", submodPath).Run()
9898
exec.Command("git", "submodule", "update").Run()
99-
os.Chdir("config_media_url")
99+
os.Chdir("config_lfs_url")
100100
exec.Command("git", "checkout", "-b", "whatevs").Run()
101101
})
102102
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)