Skip to content

Update request-info to require Probot v7.2.0 - #40

Merged
hiimbex merged 7 commits into
behaviorbot:masterfrom
shermanhui:update-probot-version
Oct 17, 2018
Merged

Update request-info to require Probot v7.2.0#40
hiimbex merged 7 commits into
behaviorbot:masterfrom
shermanhui:update-probot-version

Conversation

@shermanhui

Copy link
Copy Markdown
Contributor

Updating request-info as per the Updating Probot issue in welcome opened by @hiimbex. 😄

This PR will

  • update the package.json to require Probot v7.2.0 or higher
  • update tests and mock payload to reflect changes in the new major version of Probot

- Tests were breaking because Probot v6 was exporting a method called
`createRobot` which no longer exists. This was replaced by the
`Application` class which is now being used in the tests.
- The mock json files were using the deprecated `event` key which
was raising warnings when running the tests. This was resolved
by using the updated key `name`.
@welcome

welcome Bot commented Oct 6, 2018

Copy link
Copy Markdown

Thanks so much for opening your first PR here!

@update-docs

update-docs Bot commented Oct 6, 2018

Copy link
Copy Markdown

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would update some of our documentation based on your changes.

@hiimbex hiimbex left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks great! Would you mind also including the same requested changes from behaviorbot/sentiment-bot#29 (review) ?

@shermanhui

Copy link
Copy Markdown
Contributor Author

@hiimbex This PR is also ready for review again 👍

- New specs were still referencing `robot` after merging in
the `master` branch to get my local branch up to date. They
have been updated to `app` to get the tests to pass.
@hiimbex
hiimbex merged commit 40021be into behaviorbot:master Oct 17, 2018
@welcome

welcome Bot commented Oct 17, 2018

Copy link
Copy Markdown

Congrats on merging your first pull request here! 🎉 How awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants