Move htmx template into layouts.
This commit is contained in:
parent
60c8aefd49
commit
203a856895
5 changed files with 29 additions and 38 deletions
|
|
@ -93,7 +93,7 @@ func TestController_RenderPage(t *testing.T) {
|
|||
|
||||
// Check the template cache
|
||||
parsed, err := c.TemplateRenderer.Load("page", string(p.Name))
|
||||
assert.NoError(t, err)
|
||||
require.NoError(t, err)
|
||||
|
||||
// Check that all expected templates were parsed.
|
||||
// This includes the name, layout and all components
|
||||
|
|
@ -126,7 +126,7 @@ func TestController_RenderPage(t *testing.T) {
|
|||
|
||||
// Check the template cache
|
||||
parsed, err := c.TemplateRenderer.Load("page:htmx", string(p.Name))
|
||||
assert.NoError(t, err)
|
||||
require.NoError(t, err)
|
||||
|
||||
// Check that all expected templates were parsed.
|
||||
// This includes the name, htmx and all components
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue