hyperf-skeleton
hyperf-skeleton copied to clipboard
🛠 A skeleton of Hyperf framework that provided by official team
Hello guys. I have a controller called UserController. And i have a UserService that call getById method that returns some object. How can i mock this call when i test...
_Dependabot Preview will be shut down on August 3rd, 2021. In order to keep getting Dependabot updates, please merge this PR and migrate to GitHub-native Dependabot before then._ Dependabot has...
在 dev 模式下, 新增 `fzaninotto/faker`, 支持 model factory
ExampleTest 继承的类已经变成了Hyperf\Testing\TestCase,HttpTestCase.php文件甚至可以删除了。
1. 升级 `phpunit.xml`结构。 由于 `hyperf/testing` 的 `phpunit` 版本升级到 `^10.0`,现有的 `phpunit.xml` 有些结构废弃了,单元测试会报: ``` There was 1 PHPUnit test runner deprecation: 1) Your XML configuration validates against a deprecated schema. Migrate your...
  
Replace deprecated constant