Skip to content

Commit

Permalink
Added required session view helper for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aimeos committed Jan 17, 2022
1 parent 8ed98da commit 85b675f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/html/tests/TestHelperHtml.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ public static function view( $site = 'unittest', \Aimeos\MW\Config\Iface $config
$helper = new \Aimeos\MW\View\Helper\Url\Standard( $view, 'http://baseurl' );
$view->addHelper( 'url', $helper );

$helper = new \Aimeos\MW\View\Helper\Session\Standard( $view, self::context( $site )->session() );
$view->addHelper( 'session', $helper );

$helper = new \Aimeos\MW\View\Helper\Number\Standard( $view, '.', '' );
$view->addHelper( 'number', $helper );

Expand Down

0 comments on commit 85b675f

Please sign in to comment.