DEV Community

Discussion on: How To Create A Highly Configurable Laravel Package

Collapse
mahbod profile image
Mahbod Ahmadi • Edited

Another question...
What I have to do to load the views on package tests?

I'm getting this error
Error image

Should I put $this->loadViewsFrom(...) in my service provider?

View path: /tests/resources/views/userWalletBalance.blade.php
Test path: /tests/Feature/BladeTest.php

I also tried to move the resources to Feature directory but got the same error.

This Question on StackOverflow