@@ -64,7 +64,7 @@ func TestUpdateUser(t *testing.T) {
6464 assert .Equal (t , opts .Visibility .Value (), user .Visibility )
6565 assert .Equal (t , opts .KeepActivityPrivate .Value (), user .KeepActivityPrivate )
6666 assert .Equal (t , opts .Language .Value (), user .Language )
67- assert .Equal (t , opts .Theme .Value (), user .Theme )
67+ assert .Equal (t , opts .Theme .Value (), user .GetTheme ( t . Context ()) )
6868 assert .Equal (t , opts .DiffViewStyle .Value (), user .DiffViewStyle )
6969 assert .Equal (t , opts .AllowCreateOrganization .Value (), user .AllowCreateOrganization )
7070 assert .Equal (t , opts .EmailNotificationsPreference .Value (), user .EmailNotificationsPreference )
@@ -84,7 +84,7 @@ func TestUpdateUser(t *testing.T) {
8484 assert .Equal (t , opts .Visibility .Value (), user .Visibility )
8585 assert .Equal (t , opts .KeepActivityPrivate .Value (), user .KeepActivityPrivate )
8686 assert .Equal (t , opts .Language .Value (), user .Language )
87- assert .Equal (t , opts .Theme .Value (), user .Theme )
87+ assert .Equal (t , opts .Theme .Value (), user .GetTheme ( t . Context ()) )
8888 assert .Equal (t , opts .DiffViewStyle .Value (), user .DiffViewStyle )
8989 assert .Equal (t , opts .AllowCreateOrganization .Value (), user .AllowCreateOrganization )
9090 assert .Equal (t , opts .EmailNotificationsPreference .Value (), user .EmailNotificationsPreference )
0 commit comments