HammamZarefa / Msader

0 stars 0 forks source link

Add feature test for place order functionality #54

Open sweep-ai[bot] opened 11 months ago

sweep-ai[bot] commented 11 months ago

PR Feedback (click)

Summary of Changes

These tests create a new order using each service and assert that the response is as expected. The exact assertions depend on the expected structure of the response.

Please review and merge this PR to ensure proper test coverage for the place order functionality in the ExternalProviders services.

Fixes #52.


🎉 Latest improvements to Sweep:


💡 To get Sweep to edit this pull request, you can:

sweep-ai[bot] commented 11 months ago

Sandbox Executions

trunk init 1/3 ✓
⡿ Downloading Trunk 1.17.1...
⡿ Downloading Trunk 1.17.1...
⢿ Downloading Trunk 1.17.1...
⣻ Downloading Trunk 1.17.1...
⣽ Downloading Trunk 1.17.1...
⣾ Downloading Trunk 1.17.1...
⣷ Downloading Trunk 1.17.1...
✔ Downloading Trunk 1.17.1... done
⡿ Verifying Trunk sha256...
✔ Verifying Trunk sha256... done
⡿ Unpacking Trunk...
✔ Unpacking Trunk... done

✔ 10 linters were enabled (.trunk/trunk.yaml)
  checkov 3.0.12 (16 json, 5 yaml files)
  git-diff-check (2022 files)
  markdownlint 0.37.0 (10 markdown files) (created .markdownlint.yaml)
  osv-scanner 1.4.2 (3 lockfile files)
  oxipng 9.0.0 (261 png files)
  prettier 3.0.3 (145 css, 157 javascript, 15 json, 10 markdown, 1 sass, 5 yaml files)
  svgo 3.0.2 (56 svg files) (created svgo.config.js)
  trivy 0.46.0 (5 yaml files)
  trufflehog 3.60.4 (2059 files)
  yamllint 1.32.0 (5 yaml files) (created .yamllint.yaml)
Next Steps
 1. Read documentation
    Our documentation can be found at https://docs.trunk.io
 2. Get help and give feedback
    Join the Trunk community at https://slack.trunk.io
trunk fmt tests/Feature/ESPTest/CashSMMTest.php || exit 0 2/3 ✓
Found no applicable linters for the requested path
trunk check --fix --print-failures tests/Feature/ESPTest/CashSMMTest.php 3/3 ❌ (`1`)
  ISSUES  
tests/Feature/ESPTest/CashSMMTest.php:97:1
 97:1  high   leftover conflict marker  git-diff-check/error
Checked 1 file
✖ 1 new issue

trunk init 1/3 ✓
⡿ Downloading Trunk 1.17.1...
⡿ Downloading Trunk 1.17.1...
⢿ Downloading Trunk 1.17.1...
⣻ Downloading Trunk 1.17.1...
⣽ Downloading Trunk 1.17.1...
⣾ Downloading Trunk 1.17.1...
⣷ Downloading Trunk 1.17.1...
✔ Downloading Trunk 1.17.1... done
⡿ Verifying Trunk sha256...
✔ Verifying Trunk sha256... done
⡿ Unpacking Trunk...
✔ Unpacking Trunk... done

✔ 10 linters were enabled (.trunk/trunk.yaml)
  checkov 3.0.12 (16 json, 5 yaml files)
  git-diff-check (2022 files)
  markdownlint 0.37.0 (10 markdown files) (created .markdownlint.yaml)
  osv-scanner 1.4.2 (3 lockfile files)
  oxipng 9.0.0 (261 png files)
  prettier 3.0.3 (145 css, 157 javascript, 15 json, 10 markdown, 1 sass, 5 yaml files)
  svgo 3.0.2 (56 svg files) (created svgo.config.js)
  trivy 0.46.0 (5 yaml files)
  trufflehog 3.60.4 (2059 files)
  yamllint 1.32.0 (5 yaml files) (created .yamllint.yaml)
Next Steps
 1. Read documentation
    Our documentation can be found at https://docs.trunk.io
 2. Get help and give feedback
    Join the Trunk community at https://slack.trunk.io
trunk fmt tests/Feature/ESPTest/CashSMMTest.php || exit 0 2/3 ✓
Found no applicable linters for the requested path
trunk check --fix --print-failures tests/Feature/ESPTest/CashSMMTest.php 3/3 ❌ (`1`)
  ISSUES  
tests/Feature/ESPTest/CashSMMTest.php:97:1
 97:1  high   leftover conflict marker  git-diff-check/error
Checked 1 file
✖ 1 new issue

trunk fmt tests/Feature/ESPTest/FasterSMMTest.php || exit 0 1/2 ✓
Found no applicable linters for the requested path
trunk check --fix --print-failures tests/Feature/ESPTest/FasterSMMTest.php 2/2 ✓
Checked 1 file
✔ No issues

sweep-ai[bot] commented 11 months ago

Apply Sweep Rules to your PR?