refactor(FactoryTests): created unit tests for Factory

This commit is contained in:
2025-10-23 10:18:14 +02:00
parent fbf9488c55
commit ea2340974a
7 changed files with 187 additions and 129 deletions

View File

@@ -1,4 +1,4 @@
using DigitalData.Core.Abstraction.Application.Repository;
using DigitalData.Core.Abstractions.Interfaces;
using System.ComponentModel.DataAnnotations.Schema;
namespace DigitalData.Core.Tests.Mock;
@@ -13,4 +13,4 @@ public class User : UserBase, IEntity
public override bool Equals(object? obj)
=> (obj is User user && user.GetHashCode() == GetHashCode())
|| (obj is UserBase userBase && userBase.GetHashCode() == base.GetHashCode());
}
}