Тестируем класс QuestionEfir и добавляем вопрос в таблицу
Created new question in efir with ID: 1
Read question: Array
(
[0] => Array
(
[ID] => 1
[ChatID] => 1
[QuestionID] => 1
[QuestionHash] => hash1
[RightAnswer] => 4
[QsDifficulty] => 1
[Timestamp] => 2024-10-09 17:22:20
)
)
Updated question: Array
(
[0] => Array
(
[ID] => 1
[ChatID] => 1
[QuestionID] => 1
[QuestionHash] => hash1
[RightAnswer] => 5
[QsDifficulty] => 1
[Timestamp] => 2024-10-09 17:22:20
)
)
Deleted question. Trying to read: Array
(
)