(t *testing.T)
| 23 | } |
| 24 | |
| 25 | func TestExternalAuthProxyRecord(t *testing.T) { |
| 26 | t.Parallel() |
| 27 | |
| 28 | record := core.NewRecord(core.NewBaseCollection("test")) |
| 29 | record.Id = "test_id" |
| 30 | |
| 31 | ea := core.ExternalAuth{} |
| 32 | ea.SetProxyRecord(record) |
| 33 | |
| 34 | if ea.ProxyRecord() == nil || ea.ProxyRecord().Id != record.Id { |
| 35 | t.Fatalf("Expected proxy record with id %q, got %v", record.Id, ea.ProxyRecord()) |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | func TestExternalAuthRecordRef(t *testing.T) { |
| 40 | t.Parallel() |
nothing calls this directly
no test coverage detected
searching dependent graphs…