Skip to content

Commit

Permalink
Fix a few tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rasmus committed Nov 11, 2022
1 parent 974e82f commit f82e189
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public void SetUp()

_eventStoreMock
.Setup(s => s.LoadAllEventsAsync(It.IsAny<GlobalPosition>(), It.IsAny<int>(), It.IsAny<IEventUpgradeContext>(), It.IsAny<CancellationToken>()))
.Returns<GlobalPosition, int, CancellationToken>((s, p, c) => Task.FromResult(GetEvents(s, p)));
.Returns<GlobalPosition, int, IEventUpgradeContext, CancellationToken>((s, p, uc, c) => Task.FromResult(GetEvents(s, p)));
_readStoreManagerMock
.Setup(m => m.ReadModelType)
.Returns(typeof(TReadModel));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

using EventFlow.TestHelpers;
using NUnit.Framework;

namespace EventFlow.Tests.UnitTests.ReadStores
{
[Category(Categories.Unit)]
public class ReadModelPopulatorTests : BaseReadModelTests<TestReadModel>
{
}
Expand Down

0 comments on commit f82e189

Please sign in to comment.