Commit 566ccd63 authored by webchick's avatar webchick
Browse files

Issue #1828482 by xjm: Make views HandlerAllTest message more useful for debugging.

parent 16e40c75
......@@ -95,7 +95,12 @@ public function testHandlers() {
foreach ($object_types as $type) {
if (isset($view->{$type})) {
foreach ($view->{$type} as $handler) {
$this->assertTrue($handler instanceof HandlerBase);
$this->assertTrue($handler instanceof HandlerBase, format_string(
'@type handler of class %class is an instance of HandlerBase',
'@type' => $type,
'%class' => get_class($handler),
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment