test: add test that cookie jar loads cookies

This commit is contained in:
James Houlahan
2020-08-13 11:39:28 +02:00
parent 209af59232
commit 66082af40f
3 changed files with 50 additions and 14 deletions

View File

@ -41,7 +41,7 @@ type GetterSetter interface {
}
func NewCookieJar(getterSetter GetterSetter) (*Jar, error) {
pantry := &pantry{prefs: getterSetter}
pantry := &pantry{gs: getterSetter}
cookies, err := pantry.loadCookies()
if err != nil {