Skip to content

Commit

Permalink
converts a test condition to use the proper type
Browse files Browse the repository at this point in the history
  • Loading branch information
nickfloyd committed Jun 25, 2024
1 parent 361241b commit 9eb9d89
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public void CallsIntoClient()

client.UpdateTeamMapping(1, new NewLdapMapping(_distinguishedName));
github.Enterprise.Ldap.Received(1).UpdateTeamMapping(
Arg.Is<int>(a => a == 1),
Arg.Is<long>(a => a == 1),
Arg.Is<NewLdapMapping>(a =>
a.LdapDistinguishedName == _distinguishedName));
}
Expand All @@ -77,7 +77,7 @@ public void CallsIntoClient()

client.QueueSyncTeamMapping(1);
github.Enterprise.Ldap.Received(1).QueueSyncTeamMapping(
Arg.Is<int>(a => a == 1));
Arg.Is<long>(a => a == 1));
}
}
}
Expand Down

0 comments on commit 9eb9d89

Please sign in to comment.