File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed
src/Legislator/LegislatorBundle Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 55
55
</ul >
56
56
</section >
57
57
</nav >
58
+
59
+ <section role =" main" id =" main" >
58
60
{% block body %}{% endblock %}
61
+ </section >
59
62
60
63
<footer class =" full-width" >
61
64
<div class =" row" >
Original file line number Diff line number Diff line change @@ -21,8 +21,9 @@ dl.document-data dt {float: left; clear: left; min-width: 7em;}
21
21
dl .document-data dt : after {content : ":" ;}
22
22
dl .document-data dd {margin-bottom : 0.4em ;}
23
23
24
- a : hover {text-decoration : underline;}
25
- a .button : hover {text-decoration : none;}
24
+ # main a : link {text-decoration : underline;}
25
+ # main a : hover {text-decoration : none;}
26
+ # main a .button {text-decoration : none;}
26
27
27
28
# org-unit {font-weight : normal;}
28
29
Original file line number Diff line number Diff line change @@ -90,10 +90,10 @@ public function testCommentUntilDate()
90
90
$ this ->assertTrue ($ this ->client ->getResponse ()->isSuccessful ());
91
91
92
92
// check the change
93
- $ this ->assertTrue ($ crawler ->filterXPath ('//body/div[3]/div/h2/time ' )->text () == "15. 01. 2014 " );
93
+ $ this ->assertTrue ($ crawler ->filterXPath ('//body/*[@id="main"]/ div[3]/div/h2/time ' )->text () == "15. 01. 2014 " );
94
94
$ crawler = $ this ->client ->request ('GET ' , $ this ->getUrl ('legislator_homepage ' ));
95
95
$ this ->assertTrue ($ this ->client ->getResponse ()->isSuccessful ());
96
- $ this ->assertTrue ($ crawler ->filterXPath ('//body/div[1]/div/table/tbody/tr[1]/td[8]/time ' )->text () == "15. 01. 2014 " );
96
+ $ this ->assertTrue ($ crawler ->filterXPath ('//body/*[@id="main"]/ div[1]/div/table/tbody/tr[1]/td[8]/time ' )->text () == "15. 01. 2014 " );
97
97
}
98
98
99
99
public function testDelete ()
You can’t perform that action at this time.
0 commit comments