Skip to content

Commit 5346cd6

Browse files
committed
re-run rector
1 parent ebdf559 commit 5346cd6

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,3 +130,7 @@ _modules/*
130130
/phpunit.xml
131131

132132
/.php-cs-fixer.php
133+
134+
# somehow created on run rector
135+
# probably some code executed
136+
/tmp/schema.php

tests/system/Entity/EntityTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ public function testCastEnumNullable(): void
906906

907907
$entity->status = null;
908908

909-
$this->assertNull($entity->status);
909+
$this->assertNotInstanceOf(StatusEnum::class, $entity->status);
910910

911911
$entity->status = 'pending';
912912

@@ -1573,7 +1573,7 @@ public function testDataCasterInitEmptyCasts(): void
15731573

15741574
$getDataCaster = $this->getPrivateMethodInvoker($entity, 'dataCaster');
15751575

1576-
$this->assertNull($getDataCaster());
1576+
$this->assertNotInstanceOf(DataCaster::class, $getDataCaster());
15771577
$this->assertNull($this->getPrivateProperty($entity, 'dataCaster'));
15781578
$this->assertSame('12345', $entity->first);
15791579

0 commit comments

Comments
 (0)