mirror of https://github.com/databricks/cli.git
correct the test
This commit is contained in:
parent
735d72225a
commit
33ce0292fb
|
@ -25,6 +25,9 @@ func TestTranslatePathsApps_FilePathRelativeSubDirectory(t *testing.T) {
|
|||
SyncRootPath: dir,
|
||||
SyncRoot: vfs.MustNew(dir),
|
||||
Config: config.Root{
|
||||
Workspace: config.Workspace{
|
||||
FilePath: "/bundle/files",
|
||||
},
|
||||
Resources: config.Resources{
|
||||
Apps: map[string]*resources.App{
|
||||
"app": {
|
||||
|
@ -48,7 +51,7 @@ func TestTranslatePathsApps_FilePathRelativeSubDirectory(t *testing.T) {
|
|||
// Assert that the file path for the app has been converted to its local absolute path.
|
||||
assert.Equal(
|
||||
t,
|
||||
filepath.Join("src", "app"),
|
||||
"/bundle/files/src/app",
|
||||
b.Config.Resources.Apps["app"].SourceCodePath,
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue