(t *testing.T)
| 44 | } |
| 45 | |
| 46 | func TestRecordCollection(t *testing.T) { |
| 47 | t.Parallel() |
| 48 | |
| 49 | collection := core.NewBaseCollection("test") |
| 50 | |
| 51 | m := core.NewRecord(collection) |
| 52 | |
| 53 | if m.Collection().Name != collection.Name { |
| 54 | t.Fatalf("Expected collection with name %q, got %q", collection.Name, m.Collection().Name) |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | func TestRecordTableName(t *testing.T) { |
| 59 | t.Parallel() |
nothing calls this directly
no test coverage detected
searching dependent graphs…