Skip to content

Commit

Permalink
Update tests for invalidating cache
Browse files Browse the repository at this point in the history
ljfio committed May 16, 2024
1 parent e4448f1 commit d2fed07
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -49,7 +49,7 @@ public void Should_Call_InvisibleNodeCache_ClearRoute()
provider.Verify(m => m.GetOtherUrls(id), Times.Once);
provider.VerifyNoOtherCalls();

cache.Verify(m => m.ClearRoute("example.org", "/home/"), Times.Once);
cache.Verify(m => m.ClearRoute("https://example.org", "/home/"), Times.Once);
cache.VerifyNoOtherCalls();
}
}
Original file line number Diff line number Diff line change
@@ -49,7 +49,7 @@ public void Should_Call_InvisibleNodeCache_ClearRoute()
provider.Verify(m => m.GetOtherUrls(id), Times.Once);
provider.VerifyNoOtherCalls();

cache.Verify(m => m.ClearRoute("example.org", "/home/"), Times.Once);
cache.Verify(m => m.ClearRoute("https://example.org", "/home/"), Times.Once);
cache.VerifyNoOtherCalls();
}
}
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@ public void Should_Call_InvisibleNodeCache_ClearRoute()
provider.Verify(m => m.GetOtherUrls(id), Times.Once);
provider.VerifyNoOtherCalls();

cache.Verify(m => m.ClearRoute("example.org", "/home/"), Times.Once);
cache.Verify(m => m.ClearRoute("https://example.org", "/home/"), Times.Once);
cache.VerifyNoOtherCalls();
}
}
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@ public void Should_Call_InvisibleNodeCache_ClearRoute()
provider.Verify(m => m.GetOtherUrls(id), Times.Once);
provider.VerifyNoOtherCalls();

cache.Verify(m => m.ClearRoute("example.org", "/home/"), Times.Once);
cache.Verify(m => m.ClearRoute("https://example.org", "/home/"), Times.Once);
cache.VerifyNoOtherCalls();
}
}

0 comments on commit d2fed07

Please sign in to comment.