@@ -131,6 +131,7 @@ func TestSerializeDeserializeSession(t *testing.T) {
131131
132132 session , err := buildSession (
133133 id , priv , test .name , test .sessType ,
134+ time .Now (),
134135 time .Date (99999 , 1 , 1 , 0 , 0 , 0 , 0 , time .UTC ),
135136 "foo.bar.baz:1234" , true , test .perms ,
136137 test .caveats , test .featureConfig , true ,
@@ -185,6 +186,7 @@ func TestGroupIDForOlderSessions(t *testing.T) {
185186
186187 session , err := buildSession (
187188 id , priv , "test-session" , TypeMacaroonAdmin ,
189+ time .Now (),
188190 time .Date (99999 , 1 , 1 , 0 , 0 , 0 , 0 , time .UTC ),
189191 "foo.bar.baz:1234" , true , nil , nil , nil , false , nil ,
190192 PrivacyFlags {},
@@ -220,6 +222,7 @@ func TestGroupID(t *testing.T) {
220222 // Create session 1 which is not linked to any previous session.
221223 session1 , err := buildSession (
222224 id , priv , "test-session" , TypeMacaroonAdmin ,
225+ time .Now (),
223226 time .Date (99999 , 1 , 1 , 0 , 0 , 0 , 0 , time .UTC ),
224227 "foo.bar.baz:1234" , true , nil , nil , nil , false , nil ,
225228 PrivacyFlags {},
@@ -234,6 +237,7 @@ func TestGroupID(t *testing.T) {
234237 require .NoError (t , err )
235238 session2 , err := buildSession (
236239 id , priv , "test-session" , TypeMacaroonAdmin ,
240+ time .Now (),
237241 time .Date (99999 , 1 , 1 , 0 , 0 , 0 , 0 , time .UTC ),
238242 "foo.bar.baz:1234" , true , nil , nil , nil , false ,
239243 & session1 .GroupID , PrivacyFlags {},
0 commit comments