andersao/l5-repository

How to test repositories

Open

#207 opened on May 17, 2016

View on GitHub
 (2 comments) (0 reactions) (0 assignees)PHP (868 forks)batch import
help wantedidea

Repository metrics

Stars
 (4,119 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Has anyone got a example of a test using these repositories. I'm struggling to swap the model instance for testing purposes as the model name is hardcoded in the model() method.

Contributor guide