@@ -334,11 +334,11 @@ func TestMobileClientsCmd_TestCreateClient(t *testing.T) {
334
334
if c .Spec .ApiKey == "" {
335
335
t .Fatal ("expected an apiKey to be generated but it was empty" )
336
336
}
337
- icon , ok := c .Labels ["icon" ]
337
+ icon , ok := c .Annotations ["icon" ]
338
338
if ! ok {
339
339
t .Fatal ("expected an icon to be set but there was none" )
340
340
}
341
- if icon != "icon-cordova" {
341
+ if icon != "font-icon icon-cordova" {
342
342
t .Fatal ("expected the icon to be icon-cordova but got " , icon )
343
343
}
344
344
},
@@ -371,11 +371,11 @@ func TestMobileClientsCmd_TestCreateClient(t *testing.T) {
371
371
if c .Spec .ApiKey == "" {
372
372
t .Fatal ("expected an apiKey to be generated but it was empty" )
373
373
}
374
- icon , ok := c .Labels ["icon" ]
374
+ icon , ok := c .Annotations ["icon" ]
375
375
if ! ok {
376
376
t .Fatal ("expected an icon to be set but there was none" )
377
377
}
378
- if icon != "fa-android" {
378
+ if icon != "fa fa -android" {
379
379
t .Fatal ("expected the icon to be fa-android but got " , icon )
380
380
}
381
381
},
@@ -408,11 +408,11 @@ func TestMobileClientsCmd_TestCreateClient(t *testing.T) {
408
408
if c .Spec .ApiKey == "" {
409
409
t .Fatal ("expected an apiKey to be generated but it was empty" )
410
410
}
411
- icon , ok := c .Labels ["icon" ]
411
+ icon , ok := c .Annotations ["icon" ]
412
412
if ! ok {
413
413
t .Fatal ("expected an icon to be set but there was none" )
414
414
}
415
- if icon != "fa-apple" {
415
+ if icon != "fa fa -apple" {
416
416
t .Fatal ("expected the icon to be fa-apple but got " , icon )
417
417
}
418
418
},
0 commit comments