D
D
Dmitry2019-10-17 07:31:11
PHPUnit
Dmitry, 2019-10-17 07:31:11

How to display utf8 characters in console on test error?

How can I make the console display Russian letters instead of Unicode codes when a test fails?

1) Tests\Feature\FetchStudentsTest::не_создаем_пользователя
Failed asserting that a row in the table [users] does not match the attributes {
    "lastname": "\u0411\u0440\u0435\u043d\u0434\u0435\u043b\u044c"
}.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question