Skip to content

Commit

Permalink
Merge branch '1' into 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 3, 2024
2 parents bcc1ccf + c998e1a commit db7b673
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/php/ModelAdminTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,15 @@ public function testGetGridField()
);
}

public function testGetModelImporters()
{
$admin = new ModelAdminTest\MultiModelAdmin();
$importers = $admin->getModelImporters();
$this->assertCount(2, $importers);
$this->assertArrayHasKey(Contact::class, $importers);
$this->assertArrayHasKey(Player::class, $importers);
}

public function testGetManagedModels()
{
$admin = new ModelAdminTest\MultiModelAdmin();
Expand Down

0 comments on commit db7b673

Please sign in to comment.