mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
Added command equlity test
This commit is contained in:
parent
dabff6942e
commit
3522ad0547
1 changed files with 9 additions and 0 deletions
|
@ -62,5 +62,14 @@ namespace NzbDrone.Common.Test.MessagingTests
|
||||||
|
|
||||||
CommandEqualityComparer.Instance.Equals(command1, command2).Should().BeFalse();
|
CommandEqualityComparer.Instance.Equals(command1, command2).Should().BeFalse();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Test]
|
||||||
|
public void should_return_false_when_only_one_has_properties()
|
||||||
|
{
|
||||||
|
var command1 = new SeasonSearchCommand();
|
||||||
|
var command2 = new SeasonSearchCommand { SeriesId = 2, SeasonNumber = 2 };
|
||||||
|
|
||||||
|
CommandEqualityComparer.Instance.Equals(command1, command2).Should().BeFalse();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue