File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838test ('can output checkout form ' , function () {
3939 fakeCartWithLineItem ();
4040
41- $ this -> tag -> setParameters ([]);
42-
43- $ this -> tag -> setContent ( '
44- <h2>Checkout</h2>
45-
46- {{ sc:gateways }}
47- ---
48- {{ name }} - Duncan Cool ({{ config:is-duncan-cool }}) - Haggis - Tatties
49- ---
50- {{ /sc:gateways }}
41+ $ usage = ( string ) tag ( '
42+ {{ sc:checkout }}
43+ <h2>Checkout</h2>
44+
45+ {{ sc:gateways }}
46+ ---
47+ {{ name }} - Duncan Cool ({{ config:is-duncan-cool }}) - Haggis - Tatties
48+ ---
49+ {{ /sc:gateways }}
50+ {{ /sc:checkout }}
5151 ' );
5252
53- $ usage = $ this ->tag ->index ();
54-
5553 expect ($ usage )->toContain ('Test On-site Gateway - Duncan Cool (yes) - Haggis - Tatties ' );
5654 expect ($ usage )->toContain ('<form method="POST" action="http://localhost/!/simple-commerce/checkout" ' );
5755});
You can’t perform that action at this time.
0 commit comments