core/modules/big_pipe/src/Tests/BigPipeTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/modules/big_pipe/src/Tests/BigPipeTest.php b/core/modules/big_pipe/src/Tests/BigPipeTest.php index 26025a5..dca7921 100644 --- a/core/modules/big_pipe/src/Tests/BigPipeTest.php +++ b/core/modules/big_pipe/src/Tests/BigPipeTest.php @@ -187,8 +187,10 @@ public function testBigPipe() { $this->assertEqual($log_count + 2, db_query('SELECT COUNT(*) FROM {watchdog}')->fetchField(), 'Two new watchdog entries.'); $records = db_query('SELECT * FROM {watchdog} ORDER BY wid DESC LIMIT 2')->fetchAll(); $this->assertEqual(RfcLogLevel::ERROR, $records[0]->severity); + debug((string) unserialize($records[0]->variables)['@message']); $this->assertTrue(FALSE !== strpos((string) unserialize($records[0]->variables)['@message'], "exception 'Exception' with message 'Oh noes!'")); $this->assertEqual(RfcLogLevel::ERROR, $records[0]->severity); + debug((string) unserialize($records[1]->variables)['@message']); $this->assertTrue(FALSE !== strpos((string) unserialize($records[1]->variables)['@message'], "exception 'Exception' with message 'You are not allowed to say llamas are not cool!'")); // Verify that 4xx responses work fine. (4xx responses are handled by