Sam Coe
|
096f30a319
|
Add counterfeiter
|
2021-06-14 10:51:51 -04:00 |
|
Sam Coe
|
2729af50df
|
Cleanup SyncOptions
|
2021-06-14 10:51:51 -04:00 |
|
Sam Coe
|
8d61b96bde
|
Fix up error message
|
2021-06-14 10:51:51 -04:00 |
|
Sam Coe
|
8b5abc77ea
|
Extract git interactions into interface
|
2021-06-14 10:51:51 -04:00 |
|
Sam Coe
|
c6f89d3c17
|
Start tests
|
2021-06-14 10:51:50 -04:00 |
|
Sam Coe
|
86e16cc7c4
|
Add repo sync command
|
2021-06-14 10:51:50 -04:00 |
|
Mislav Marohnić
|
5984cf2a82
|
Merge pull request #3832 from cli/env-set-fix
Fix setting environment secrets
|
2021-06-14 16:17:24 +02:00 |
|
Cristian Dominguez
|
d8ce615252
|
Remove unused method from httpmock package
|
2021-06-14 09:39:14 -03:00 |
|
Cristian Dominguez
|
6ba70d4a1e
|
Add run cancel command
|
2021-06-14 08:57:06 -03:00 |
|
Mislav Marohnić
|
3a7ce3a440
|
Fix setting environment secrets
This uses the correct public key when setting environment secrets.
https://docs.github.com/en/rest/reference/actions#get-an-environment-public-key
|
2021-06-14 11:51:20 +02:00 |
|
Mislav Marohnić
|
1f4bd80c56
|
Fix test flaky due to race in showing/hiding cursor
https://github.com/cli/cli/pull/3787/checks?check_run_id=2793254411
|
2021-06-14 10:58:53 +02:00 |
|
bchadwic
|
9c7a788193
|
created more tests, and removed repoFlag
|
2021-06-13 21:05:50 -07:00 |
|
Jessica Sestak
|
7ea9d9164a
|
Fixed TestNewCmdBrowse and added more tests
|
2021-06-13 20:16:19 -07:00 |
|
Jessica Sestak
|
edef757c6c
|
Made more runBrowse tests
|
2021-06-12 22:36:03 -07:00 |
|
bchadwic
|
2b42ab92c3
|
refactored browse.go
|
2021-06-12 21:58:29 -07:00 |
|
camille folch
|
568f4e4ee0
|
Minor refactoring for readability in NewCmdFork's runE
|
2021-06-11 23:28:41 -03:00 |
|
camille folch
|
54b86c7093
|
repo fork: check that --org is not the empty string
As it is already being done for --remote-name, except in this case
the default is the empty string.
|
2021-06-11 23:28:41 -03:00 |
|
Mislav Marohnić
|
7999a457ad
|
Separate out NewCmdBrowse tests from runBrowse tests
Co-authored-by: Benjamin Chadwick <benchadwick87@gmail.com>
Co-authored-by: Jessica Sestak <jlsestak@gmail.com>
|
2021-06-11 18:53:34 +02:00 |
|
Nate Smith
|
aecfc01e69
|
Merge pull request #3809 from cli/fork-test-cleanup
fork tests cleanup
|
2021-06-11 11:31:33 -05:00 |
|
Owen Voke
|
d96a773afc
|
tests: add tests for GPG key commands
|
2021-06-11 15:55:31 +01:00 |
|
Owen Voke
|
dad2d52571
|
feat: add commands for managing GPG keys
|
2021-06-11 15:55:17 +01:00 |
|
Mislav Marohnić
|
4debbb17cd
|
Further separate out test cases
|
2021-06-11 14:32:08 +02:00 |
|
bchadwic
|
88ec5ad3b2
|
Fixing issues in the pr
|
2021-06-10 21:14:10 -07:00 |
|
Nate Smith
|
b0998772ae
|
more cleanup
|
2021-06-10 21:46:02 +00:00 |
|
Nate Smith
|
f31a31e2ed
|
stop stubbing out a Since function
|
2021-06-10 21:46:02 +00:00 |
|
vilmibm
|
4a7ec7f4f6
|
cleaning up fork tests
|
2021-06-10 21:45:54 +00:00 |
|
vilmibm
|
14de70a011
|
add defaultRemoteName
|
2021-06-10 21:44:49 +00:00 |
|
Mislav Marohnić
|
e1b5f78df3
|
💅 grammar in comment
|
2021-06-10 14:09:43 +02:00 |
|
Jessica Sestak
|
e5b81fb6a5
|
Started working on testing for parseFileArgs
|
2021-06-08 22:09:11 -07:00 |
|
Jessica Sestak
|
1657cf46c1
|
Fixed parsefileargs to throw errors with incorrect line numbers
|
2021-06-08 21:23:50 -07:00 |
|
Jessica Sestak
|
a96612c5e9
|
Fixed --repo to open with Args
|
2021-06-08 20:54:56 -07:00 |
|
bchadwic
|
98a5541d15
|
Started to fix the flags and the restrictions using them
|
2021-06-08 20:35:38 -07:00 |
|
bchadwic
|
95afca882b
|
Finished refactoring now
|
2021-06-08 16:35:53 -07:00 |
|
bchadwic
|
506bd4b2de
|
working on refactoring the output, the tests and how opts is structured
|
2021-06-08 15:36:11 -07:00 |
|
vilmibm
|
395355d075
|
make prompt.Confirm stubbable
|
2021-06-08 15:49:37 -05:00 |
|
Benjamin Chadwick
|
698ca014c7
|
Merge pull request #38 from bchadwic/trunk
Redefined browse output, and added in more test cases
|
2021-06-08 13:12:48 -07:00 |
|
Benjamin Chadwick
|
9fe986a480
|
Update pkg/cmd/browse/browse.go
Co-authored-by: Mislav Marohnić <hi@mislav.net>
|
2021-06-08 12:48:17 -07:00 |
|
Benjamin Chadwick
|
891f4af69c
|
Update pkg/cmd/browse/browse.go
Co-authored-by: Mislav Marohnić <hi@mislav.net>
|
2021-06-08 12:47:56 -07:00 |
|
Benjamin Chadwick
|
94002bf0cc
|
Update pkg/cmd/browse/browse.go
Co-authored-by: Mislav Marohnić <hi@mislav.net>
|
2021-06-08 12:47:44 -07:00 |
|
Mislav Marohnić
|
3a55c26000
|
Update "Accept" header for github.com requests
The `antiope-preview` has graduated in github.com and no longer needs
activating. However, we still need it for GHES requests.
|
2021-06-08 19:25:40 +02:00 |
|
Mislav Marohnić
|
8a221bb766
|
Add tests for our default HTTP client
|
2021-06-08 19:21:48 +02:00 |
|
ravocean
|
898d585e6a
|
A small change in code
|
2021-06-07 22:00:05 -07:00 |
|
bchadwic
|
569d2fd58a
|
Got tests objects to fully work! Currently working on making more test cases
|
2021-06-07 21:47:08 -07:00 |
|
ravocean
|
449858158d
|
Continued to work on the output of test file
|
2021-06-07 12:57:36 -07:00 |
|
Jessica Sestak
|
f792704003
|
Worked on browse_test.go, still not getting errors
|
2021-06-07 11:04:29 -07:00 |
|
bchadwic
|
6ed9900084
|
working on the test file for the browse.go
|
2021-06-06 01:09:43 -07:00 |
|
ttran112
|
e425e897a6
|
create new test file for first browse branch
|
2021-06-05 23:31:19 -07:00 |
|
ttran112
|
1a9704dbfb
|
fix the route
|
2021-06-05 22:46:46 -07:00 |
|
Benjamin Chadwick
|
bc3a341479
|
Update browse.go
|
2021-06-05 21:56:06 -07:00 |
|
Jessica Sestak
|
6f09e4f51a
|
Fixed print error messages and returning error from openInBrowser
|
2021-06-05 21:47:03 -07:00 |
|