Use the correct model in the test
This was using a model without a default scope what made the test don't break anymore if the code is removed.
Showing
想要评论请 注册 或 登录
This was using a model without a default scope what made the test don't break anymore if the code is removed.