(t *testing.T)
| 8 | ) |
| 9 | |
| 10 | func Test_Php(t *testing.T) { |
| 11 | |
| 12 | std := tool.Dep("", "", |
| 13 | tool.Dep("opensca/test", "", |
| 14 | tool.Dep("http-interop/http-factory-guzzle", "1.2.0", |
| 15 | tool.Dep("guzzlehttp/psr7", "2.6.1", |
| 16 | tool.Dep("ralouphie/getallheaders", "3.0.3"), |
| 17 | ), |
| 18 | tool.Dep("psr/http-factory", "1.0.2"), |
| 19 | ), |
| 20 | tool.Dep("psr/http-message", "2.0"), |
| 21 | ), |
| 22 | ) |
| 23 | |
| 24 | tool.RunTaskCase(t, php.Sca{})([]tool.TaskCase{ |
| 25 | |
| 26 | // composer.lock |
| 27 | {Path: "1", Result: std}, |
| 28 | |
| 29 | // composer.json |
| 30 | {Path: "2", Result: std}, |
| 31 | }) |
| 32 | |
| 33 | } |
nothing calls this directly
no test coverage detected