diff --git a/document_test.go b/document_test.go index 55dbc15..0be705b 100644 --- a/document_test.go +++ b/document_test.go @@ -1316,10 +1316,8 @@ func TestDocument_TestNestedFiles(t *testing.T) { require.NoError(t, err) doc, err := NewDocumentWithConfiguration(spec, &datamodel.DocumentConfiguration{ - BasePath: "./test_specs/nested_files", - IgnorePolymorphicCircularReferences: true, - IgnoreArrayCircularReferences: true, - AllowFileReferences: true, + BasePath: "./test_specs/nested_files", + AllowFileReferences: true, }) require.NoError(t, err)