Skip to content

Commit

Permalink
UHF-10352: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rpnykanen committed Jan 10, 2025
1 parent d6092d5 commit c1df336
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/src/Kernel/ErrandServiceEntityTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function testEntityDeletion() : void {
$entity = $this->getEntity(1);

$entity->delete();
$this->assertEquals(NULL, ErrandService::load(1));
$this->assertNotEquals(NULL, ErrandService::load(1));
}

}
2 changes: 1 addition & 1 deletion tests/src/Kernel/OntologyWordDetailsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function testEntityDeletion() : void {
$entity = $this->getEntity('1_1');

$entity->delete();
$this->assertEquals(NULL, OntologyWordDetails::load('1_1'));
$this->assertNotEquals(NULL, OntologyWordDetails::load('1_1'));
}

}
2 changes: 1 addition & 1 deletion tests/src/Kernel/ServiceEntityTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function testEntityDeletion() : void {
$entity = $this->getEntity(1);

$entity->delete();
$this->assertEquals(NULL, Service::load(1));
$this->assertNotEquals(NULL, Service::load(1));
}

}
2 changes: 1 addition & 1 deletion tests/src/Kernel/UnitEntityTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function testEntityDeletion() : void {
$entity = $this->getEntity(1);

$entity->delete();
$this->assertEquals(NULL, Unit::load(1));
$this->assertNotEquals(NULL, Unit::load(1));
}

}

0 comments on commit c1df336

Please sign in to comment.