Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: api responses match our expectations #216

Merged
merged 2 commits into from
Jul 15, 2023
Merged

Conversation

diivi
Copy link
Contributor

@diivi diivi commented Jul 15, 2023

Description

Adds tests for checking the responses returned by API endpoints, so that they match our expectations. I've done this for the user and repo endpoints for now. Future extensions can include the highlights endpoint and other endpoints.

What type of PR is this? (check all applicable)

  • 🍕 Feature
  • 🐛 Bug Fix
  • 📝 Documentation Update
  • 🎨 Style
  • 🧑‍💻 Code Refactor
  • 🔥 Performance Improvements
  • ✅ Test
  • 🤖 Build
  • 🔁 CI
  • 📦 Chore (Release)
  • ⏩ Revert

Added tests?

  • 👍 yes
  • 🙅 no, because they aren't needed
  • 🙋 no, because I need help

Added to documentation?

  • 📜 README.md
  • 📓 docs.opensauced.pizza
  • 🍕 dev.to/opensauced
  • 📕 storybook
  • 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?

[optional] What gif best describes this PR or how it makes you feel?

Copy link
Member

@Anush008 Anush008 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great 👍👍

@bdougie bdougie merged commit 7f79b0a into beta Jul 15, 2023
github-actions bot pushed a commit that referenced this pull request Jul 15, 2023
## [1.11.1-beta.1](v1.11.0...v1.11.1-beta.1) (2023-07-15)

### ✅ Tests

* api responses match our expectations ([#216](#216)) ([7f79b0a](7f79b0a))
@github-actions
Copy link

🎉 This PR is included in version 1.11.1-beta.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

github-actions bot pushed a commit that referenced this pull request Jul 18, 2023
## [1.11.1](v1.11.0...v1.11.1) (2023-07-18)

### ✅ Tests

* api responses match our expectations ([#216](#216)) ([7f79b0a](7f79b0a))

### 🐛 Bug Fixes

* Broken authentication on dev ([#215](#215)) ([c6bf2c8](c6bf2c8))
@github-actions
Copy link

🎉 This PR is included in version 1.11.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

zer0and1 pushed a commit to zer0and1/open-sauced.ai that referenced this pull request Jul 26, 2023
## [1.11.1-beta.1](open-sauced/ai@v1.11.0...v1.11.1-beta.1) (2023-07-15)

### ✅ Tests

* api responses match our expectations ([#216](open-sauced/ai#216)) ([7f79b0a](open-sauced/ai@7f79b0a))
zer0and1 pushed a commit to zer0and1/open-sauced.ai that referenced this pull request Jul 26, 2023
## [1.11.1](open-sauced/ai@v1.11.0...v1.11.1) (2023-07-18)

### ✅ Tests

* api responses match our expectations ([#216](open-sauced/ai#216)) ([7f79b0a](open-sauced/ai@7f79b0a))

### 🐛 Bug Fixes

* Broken authentication on dev ([#215](open-sauced/ai#215)) ([c6bf2c8](open-sauced/ai@c6bf2c8))
@Anush008 Anush008 deleted the test/api-responses branch August 1, 2023 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants