You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHPUnit 4.8.35 by Sebastian Bergmann and contributors.
Runtime: PHP 7.1.2
Configuration: /Users/flavio/php/sql-repository/phpunit.xml.dist
Warning: The Xdebug extension is not loaded
No code coverage will be generated.
E
Time: 165 ms, Memory: 4.00MB
There was 1 error:
1) NilPortugues\Tests\Foundation\EntityTest::testNullable
RuntimeException: Column updatedAt.date not mapped for class NilPortugues\Tests\Foundation\Entity.
The text was updated successfully, but these errors were encountered:
Is there a way to have nullable objects on the mapping?
For example an entity that has a "update_at" field that is only set once the entity is updated but not when it is created.
If it is not currently possible, what would be the recommended way for implementing it? (I'm happy to implement it)
Entity.php
EntityMapping.php
EntityRepository.php
EntityTest.php
Output
The text was updated successfully, but these errors were encountered: