Browse Source

Test to ensure renderObjectTemplate() supports arrays

#6375
pull/6412/head
Brandon Kelly 5 years ago
parent
commit
1eef86d04c
  1. 3
      tests/unit/web/ViewTest.php

3
tests/unit/web/ViewTest.php

@ -476,6 +476,9 @@ class ViewTest extends TestCase
// Test that model params dont override variable params.
['IM DIFFERENTExample Param', '{ exampleParam }{ object.exampleParam }', $model, ['exampleParam' => 'IM DIFFERENT']],
// Test basic arrays
['foo=bar', 'foo={foo}', ['foo' => 'bar']],
];
}

Loading…
Cancel
Save