We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 570a626 commit 3530838Copy full SHA for 3530838
src/Tests/XPack/Security/RoleMapping/RoleMappingCrudTests.cs
@@ -135,11 +135,7 @@ protected override void ExpectAfterCreate(IGetRoleMappingResponse response)
135
136
mapping.Enabled.Should().BeFalse();
137
mapping.Roles.Should().BeEquivalentTo("admin");
138
- //source serializer includes nulls on deserialize
139
- if (TestClient.Configuration.UsingCustomSourceSerializer)
140
- mapping.Metadata.Should().HaveCount(2).And.ContainKeys("x", "z");
141
- else
142
- mapping.Metadata.Should().HaveCount(1).And.ContainKeys("x");
+ mapping.Metadata.Should().HaveCount(2).And.ContainKeys("x", "z");
143
mapping.Rules.Should().NotBeNull();
144
145
var allMapping = mapping.Rules as AllRoleMappingRule;
0 commit comments