2017-11-13 16:02:46 -05:00
|
|
|
package driver
|
|
|
|
|
|
|
|
import "testing"
|
|
|
|
|
|
|
|
func TestFolderAcc(t *testing.T) {
|
2020-01-08 13:22:55 -05:00
|
|
|
t.Skip("Acceptance tests not configured yet.")
|
2017-11-13 16:02:46 -05:00
|
|
|
d := newTestDriver(t)
|
|
|
|
f, err := d.FindFolder("folder1/folder2")
|
|
|
|
if err != nil {
|
|
|
|
t.Fatalf("Cannot find the default folder '%v': %v", "folder1/folder2", err)
|
|
|
|
}
|
|
|
|
path, err := f.Path()
|
|
|
|
if err != nil {
|
|
|
|
t.Fatalf("Cannot read folder name: %v", err)
|
|
|
|
}
|
|
|
|
if path != "folder1/folder2" {
|
|
|
|
t.Errorf("Wrong folder. expected: 'folder1/folder2', got: '%v'", path)
|
|
|
|
}
|
|
|
|
}
|