(t *testing.T)
| 133 | } |
| 134 | |
| 135 | func TestRecordBaseFilesPath(t *testing.T) { |
| 136 | t.Parallel() |
| 137 | |
| 138 | collection := core.NewBaseCollection("test") |
| 139 | |
| 140 | m := core.NewRecord(collection) |
| 141 | m.Id = "abc" |
| 142 | |
| 143 | result := m.BaseFilesPath() |
| 144 | expected := collection.BaseFilesPath() + "/" + m.Id |
| 145 | if result != expected { |
| 146 | t.Fatalf("Expected %q, got %q", expected, result) |
| 147 | } |
| 148 | } |
| 149 | |
| 150 | func TestRecordOriginal(t *testing.T) { |
| 151 | t.Parallel() |
nothing calls this directly
no test coverage detected
searching dependent graphs…