diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2024-08-26 16:02:55 +0200 |
|---|---|---|
| committer | Jeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com> | 2024-10-28 17:02:14 +0100 |
| commit | beaf7940dfbfc5bb8222a4381a767c4ccd538fd7 (patch) | |
| tree | f3ea8e5d53c32d68ae5dc087035ff16c1efa93f2 /exports | |
| parent | dd4ce088f22414f503ff810fcfb0c64117b8dfbc (diff) | |
Exports Test: Renewing
Diffstat (limited to 'exports')
| -rw-r--r-- | exports/exports_wrapper.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/exports/exports_wrapper.go b/exports/exports_wrapper.go index dfd76cf..1f6841b 100644 --- a/exports/exports_wrapper.go +++ b/exports/exports_wrapper.go @@ -318,6 +318,14 @@ func testSetProfileID(t *testing.T) { } } +func testRenewSession(t *testing.T) { + ck := CookieNew() + rErr := getError(t, RenewSession(ck)) + if rErr != "" { + t.Fatalf("failed renewing session: %v", rErr) + } +} + func testCleanup(t *testing.T) { ck := CookieNew() defer CookieDelete(ck) @@ -382,5 +390,6 @@ func testGetConfig(t *testing.T) { } testSetProfileID(t) + testRenewSession(t) testCleanup(t) } |
