Testing a partial nested in a subfolder

Hi, completely new to testing views and templates. My first test!

The template I’d like to get at is in a subfolder within templates. Here’s the code:

content = render_to_string(MyAppWeb.View, "template.html", conn: conn)

Get this error:

Could not render "template.html" for MyAppWeb.View, please define a matching clause for render/2 or define a template at "lib/myapp_web/templates/template"