Commit 8bb678db authored by Carsten  Rose's avatar Carsten Rose
Browse files

#4606 / _link: qualifier to render bootstrap button - fix unit tests for tooltip.

parent 61d4eed1
......@@ -543,15 +543,15 @@ EOF;
// _Page: pagealias, param, Text, Tooltip, Question, Class, Target, Rendermode 3: URL + Text
$result = $this->report->process("10.sql = SELECT 'form&r=123&a=hello&type=5&L=3&final=world|Person|This is a tooltip|My Question|myclass|mytarget|3' AS _Page FROM Person ORDER BY id LIMIT 1");
$this->assertEquals('Person', $result);
$this->assertEquals('<span title="This is a tooltip" >Person</span>', $result);
// _Page: pagealias, param, Text, Tooltip, Question, Class, Target, Rendermode 4: URL + Text
$result = $this->report->process("10.sql = SELECT 'form&r=123&a=hello&type=5&L=3&final=world|Person|This is a tooltip|My Question|myclass|mytarget|4' AS _Page FROM Person ORDER BY id LIMIT 1");
$this->assertEquals('index.php?id=form&type=5&L=3&s=badcaffee1234', $result);
$this->assertEquals('<span title="This is a tooltip" >index.php?id=form&type=5&L=3&s=badcaffee1234</span>', $result);
// _Page: pagealias, param, Text, Tooltip, Question, Class, Target, Rendermode 4: URL
$result = $this->report->process("10.sql = SELECT 'form&r=123&a=hello&type=5&L=3&final=world|Person|This is a tooltip|My Question|myclass|mytarget|4' AS _Page FROM Person ORDER BY id LIMIT 1");
$this->assertEquals('index.php?id=form&type=5&L=3&s=badcaffee1234', $result);
$this->assertEquals('<span title="This is a tooltip" >index.php?id=form&type=5&L=3&s=badcaffee1234</span>', $result);
// _Page: pagealias, param, Text, Tooltip, Question, Class, Target, Rendermode 4: URL + Text
$result = $this->report->process("10.sql = SELECT 'form&r=123&a=hello&type=5&L=3&final=world|Person|This is a tooltip|My Question|myclass|mytarget|5' AS _Page FROM Person ORDER BY id LIMIT 1");
......
Supports Markdown
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