Lines 67-73
subtest 'OPAC - borrowernumber, branchcode and categorycode as html attributes'
Link Here
|
67 |
is( $elt->get_attribute('data-borrowernumber', 1), $patron->borrowernumber, |
67 |
is( $elt->get_attribute('data-borrowernumber', 1), $patron->borrowernumber, |
68 |
"Since bug 20921 span.loggedinusername should contain data-borrowernumber" |
68 |
"Since bug 20921 span.loggedinusername should contain data-borrowernumber" |
69 |
); |
69 |
); |
70 |
is( $elt->get_attribute('data-categorycode'), $patron->categorycode, |
70 |
is( $elt->get_attribute('data-categorycode', 1), $patron->categorycode, |
71 |
"Since bug 26847 span.loggedinusername should contain data-categorycode" |
71 |
"Since bug 26847 span.loggedinusername should contain data-categorycode" |
72 |
); |
72 |
); |
73 |
push @cleanup, $patron, $patron->category, $patron->library; |
73 |
push @cleanup, $patron, $patron->category, $patron->library; |
74 |
- |
|
|