Skip to content

Commit 624a09b

Browse files
author
Андрей Гостев
committed
fix: pass null text through in EntityFactory::createMessage
1 parent 645b0e7 commit 624a09b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Factory/Entity/EntityFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public static function createMessage(?string $text = null): Ent\Message
3232
date: time(),
3333
chat: self::createChat1(),
3434
from: self::createUser1(),
35-
text: $text ?? 'Hello, world!',
35+
text: $text,
3636
);
3737
}
3838

0 commit comments

Comments
 (0)