Switch src & dst and remove some no longer needed code

This commit is contained in:
Amelia 2025-05-08 09:23:48 +02:00
parent 9844503671
commit a01f656654
No known key found for this signature in database
GPG key ID: D6D0ECE365407EAA
7 changed files with 13 additions and 40 deletions

View file

@ -40,7 +40,7 @@ public class PersonServiceTests: AbstractDbTest
UnitOfWork.PersonRepository.Attach(person2);
await UnitOfWork.CommitAsync();
await ps.MergePeopleAsync(person1, person2);
await ps.MergePeopleAsync(person2, person1);
var allPeople = await UnitOfWork.PersonRepository.GetAllPeople();
Assert.Single(allPeople);
@ -76,7 +76,7 @@ public class PersonServiceTests: AbstractDbTest
UnitOfWork.PersonRepository.Attach(person2);
await UnitOfWork.CommitAsync();
await ps.MergePeopleAsync(person1, person2);
await ps.MergePeopleAsync(person2, person1);
var allPeople = await UnitOfWork.PersonRepository.GetAllPeople();
Assert.Single(allPeople);
}
@ -124,7 +124,7 @@ public class PersonServiceTests: AbstractDbTest
UnitOfWork.SeriesRepository.Add(series2);
await UnitOfWork.CommitAsync();
await ps.MergePeopleAsync(person, person2);
await ps.MergePeopleAsync(person2, person);
var allPeople = await UnitOfWork.PersonRepository.GetAllPeople();
Assert.Single(allPeople);
@ -201,7 +201,7 @@ public class PersonServiceTests: AbstractDbTest
UnitOfWork.SeriesRepository.Add(series2);
await UnitOfWork.CommitAsync();
await ps.MergePeopleAsync(person, person2);
await ps.MergePeopleAsync(person2, person);
var allPeople = await UnitOfWork.PersonRepository.GetAllPeople();
Assert.Single(allPeople);