HostGroupMembershipResolverTest: Check resolver after test set

This commit is contained in:
Markus Frosch 2018-09-05 16:29:43 +02:00
parent 7bfe1e03e6
commit a7ad2e7ad3
1 changed files with 3 additions and 4 deletions

View File

@ -349,9 +349,8 @@ class HostGroupMembershipResolverTest extends BaseTestCase
{
$resolver = new HostGroupMembershipResolver($this->getDb());
$resolver->refreshAllMappings();
$this->assertTrue(true); // we reached this without exception
// TODO: check results of the recheck - it should not change anything at this point
$resolver->checkDb();
$this->assertEmpty($resolver->getNewMappings(), 'There should not be any new mappings');
$this->assertEmpty($resolver->getOutdatedMappings(), 'There should not be any outdated mappings');
}
}