Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
VisualBean committed Dec 14, 2023
1 parent 14b3a69 commit 73fae61
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/LEGO.AsyncAPI.Tests/Models/AsyncApiReference_Should.cs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public void AsyncApiDocument_WithInternalComponentReference_ResolvesReference()

var settings = new AsyncApiReaderSettings()
{
ReferenceResolution = ReferenceResolutionSetting.ResolveInternalReferences,
ReferenceResolution = ReferenceResolutionSetting.ResolveReferences,
};
var reader = new AsyncApiStringReader(settings);

Expand Down Expand Up @@ -189,11 +189,11 @@ public void AsyncApiDocument_WithExternalReference_DoesNotResolve()
version: 1.0.0
channels:
myChannel:
$ref: https://gist.githubusercontent.com/VisualBean/826205b3f599f3ca520c8507bdc62e41/raw/31030db12e5700039244864c6b5531d2b24f95b2/channel.yaml";
$ref: http://example.com/channel.json";

var settings = new AsyncApiReaderSettings()
{
ReferenceResolution = ReferenceResolutionSetting.ResolveAllReferences,
ReferenceResolution = ReferenceResolutionSetting.ResolveReferences,
};
var reader = new AsyncApiStringReader(settings);

Expand Down

0 comments on commit 73fae61

Please sign in to comment.