Commit Graph

2 Commits

Author SHA1 Message Date
Saul Gutierrez
6fde922876 tests: add mock for default push path
Summary:
D42614252 (79886f53d4) introduced a way of setting `default.default-push` through the `SL_TEST_GH_URL` environment variable in tests. This diff makes use of the same environment variable for `github.submit.get_origin`.

This can be useful when testing commands that need to connect to the mock GitHub server but still need to get data from the git repo being tested.

Reviewed By: bolinfest

Differential Revision: D42625037

fbshipit-source-id: bf19d772fef32bf4ce8326391a9df360a3412040
2023-01-23 13:11:01 -08:00
Michael Bolin
98245071ef add integration for new sl pr submit default behavior
Summary:
Change `test-ext-github-pr-submit.t` so it tests the
new `sl pr submit` behavior introduced in D42550052
while introducing `test-ext-github-pr-submit-placeholder-issue.t`
to verify the old behavior.

Reviewed By: sggutier

Differential Revision: D42554648

fbshipit-source-id: 79f4a876993ad3d85bb2a11be1460de55d5530c0
2023-01-18 16:43:53 -08:00