-
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #250 from laminas/renovate/lock-file-maintenance
Lock file maintenance
- Loading branch information
Showing
10 changed files
with
54 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,6 @@ | |
use PHPUnit\Framework\TestCase; | ||
use Throwable; | ||
|
||
use function count; | ||
use function getenv; | ||
|
||
abstract class AbstractBuilderTestCase extends TestCase | ||
|
@@ -282,7 +281,6 @@ public function testAllowsComposingMultipleChildEntitiesWithEntityBind(): void | |
self::assertInstanceOf(InputFilterProviderFieldset::class, $target); | ||
$this->validateEntityFilterSpec($target->getInputFilterSpecification()); | ||
|
||
self::assertNull($entity->child); | ||
$form->bind($entity); | ||
$form->setData([ | ||
'child' => [ | ||
|
@@ -291,8 +289,8 @@ public function testAllowsComposingMultipleChildEntitiesWithEntityBind(): void | |
], | ||
]); | ||
self::assertTrue($form->isValid()); | ||
self::assertNotNull($entity->child); | ||
self::assertEquals(2, count($entity->child)); | ||
self::assertIsArray($entity->child); | ||
self::assertCount(2, $entity->child); | ||
self::assertInstanceOf(EntityObjectPropertyHydrator::class, $entity->child[0]); | ||
self::assertEquals('[email protected]', $entity->child[0]->password); | ||
self::assertEquals('user', $entity->child[0]->username); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters