1
0
mirror of https://github.com/bitwarden/server synced 2026-01-13 05:53:37 +00:00

fix broken tests

This commit is contained in:
John Harrington
2025-12-16 13:34:23 -07:00
parent 4217dba65d
commit b2c0dc85c1

View File

@@ -150,7 +150,7 @@ public class SendsControllerTests : IDisposable
};
_sendOwnerQuery.GetOwned(Arg.Any<ClaimsPrincipal>()).Returns(sends);
var result = await _sut.Get();
var result = await _sut.GetAll();
Assert.NotNull(result);
Assert.IsType<ListResponseModel<SendResponseModel>>(result);
@@ -166,7 +166,7 @@ public class SendsControllerTests : IDisposable
{
_sendOwnerQuery.GetOwned(Arg.Any<ClaimsPrincipal>()).Returns(new List<Send>());
var result = await _sut.Get();
var result = await _sut.GetAll();
Assert.NotNull(result);
Assert.IsType<ListResponseModel<SendResponseModel>>(result);