(t *testing.T, tester shellTester)
| 589 | } |
| 590 | |
| 591 | func testUpdateFromPrevToReleaseViaProd(t *testing.T, tester shellTester) { |
| 592 | defer testutils.BackupAndRestoreEnv("HISHTORY_SERVER")() |
| 593 | os.Setenv("HISHTORY_SERVER", "https://api.hishtory.dev") |
| 594 | testGenericUpdate(t, tester, installFromPrev, updateToRelease) |
| 595 | } |
| 596 | |
| 597 | func testGenericUpdate(t *testing.T, tester shellTester, installInitialVersion func(*testing.T, shellTester) (string, string), installUpdatedVersion func(*testing.T, shellTester) string) { |
| 598 | defer testutils.BackupAndRestoreEnv("HISHTORY_FORCE_CLIENT_VERSION")() |
no test coverage detected