@@ -329,7 +329,7 @@ func TestThumbnailAttachmentOperations(t *testing.T) {
329329 t .Logf ("Thumbnail content verified: %d bytes" , len (content ))
330330 })
331331
332- t .Run ("3_Get_AAS_By_ID_Includes_Thumbnail_In_AssetInformation " , func (t * testing.T ) {
332+ t .Run ("3_Get_AAS_By_ID_Includes_DefaultThumbnail_In_AssetInformation " , func (t * testing.T ) {
333333 aasEndpoint := fmt .Sprintf ("%s/shells/%s" , baseURL , aasIdentifier )
334334 payload , getStatus , getErr := getJSONResponse (aasEndpoint )
335335 require .NoError (t , getErr , "AAS retrieval failed" )
@@ -338,8 +338,8 @@ func TestThumbnailAttachmentOperations(t *testing.T) {
338338 assetInformation , ok := payload ["assetInformation" ].(map [string ]any )
339339 require .True (t , ok , "assetInformation should be present" )
340340
341- thumbnail , ok := assetInformation ["thumbnail " ].(map [string ]any )
342- require .True (t , ok , "assetInformation.thumbnail should be present" )
341+ thumbnail , ok := assetInformation ["defaultThumbnail " ].(map [string ]any )
342+ require .True (t , ok , "assetInformation.defaultThumbnail should be present" )
343343
344344 thumbnailPath , ok := thumbnail ["path" ].(string )
345345 require .True (t , ok , "thumbnail.path should be a string" )
@@ -350,7 +350,7 @@ func TestThumbnailAttachmentOperations(t *testing.T) {
350350 assert .Equal (t , "image/gif" , thumbnailContentType , "thumbnail.contentType should match uploaded file" )
351351 })
352352
353- t .Run ("4_Get_AAS_List_Includes_Thumbnail_In_AssetInformation " , func (t * testing.T ) {
353+ t .Run ("4_Get_AAS_List_Includes_DefaultThumbnail_In_AssetInformation " , func (t * testing.T ) {
354354 listEndpoint := fmt .Sprintf ("%s/shells" , baseURL )
355355 payload , getStatus , getErr := getJSONResponse (listEndpoint )
356356 require .NoError (t , getErr , "AAS list retrieval failed" )
@@ -373,8 +373,8 @@ func TestThumbnailAttachmentOperations(t *testing.T) {
373373 assetInformation , ok := aasMap ["assetInformation" ].(map [string ]any )
374374 require .True (t , ok , "assetInformation should be present in listed AAS" )
375375
376- thumbnail , ok := assetInformation ["thumbnail " ].(map [string ]any )
377- require .True (t , ok , "assetInformation.thumbnail should be present in listed AAS" )
376+ thumbnail , ok := assetInformation ["defaultThumbnail " ].(map [string ]any )
377+ require .True (t , ok , "assetInformation.defaultThumbnail should be present in listed AAS" )
378378
379379 thumbnailPath , ok := thumbnail ["path" ].(string )
380380 require .True (t , ok , "thumbnail.path should be a string in listed AAS" )
0 commit comments