mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-30 22:42:24 -05:00 
			
		
		
		
	fix test
This commit is contained in:
		
					parent
					
						
							
								547020084d
							
						
					
				
			
			
				commit
				
					
						978f08f574
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -297,7 +297,7 @@ func (suite *MediaCreateTestSuite) TestMediaCreateSuccessfulV2() { | ||||||
| 	}, *attachmentReply.Meta) | 	}, *attachmentReply.Meta) | ||||||
| 	suite.Equal("LiB|W-#6RQR.~qvzRjWF_3rqV@a$", *attachmentReply.Blurhash) | 	suite.Equal("LiB|W-#6RQR.~qvzRjWF_3rqV@a$", *attachmentReply.Blurhash) | ||||||
| 	suite.NotEmpty(attachmentReply.ID) | 	suite.NotEmpty(attachmentReply.ID) | ||||||
| 	suite.Nil(attachmentReply.URL) | 	suite.NotEmpty(attachmentReply.URL) | ||||||
| 	suite.NotEmpty(attachmentReply.PreviewURL) | 	suite.NotEmpty(attachmentReply.PreviewURL) | ||||||
| 	suite.Equal(len(storageKeysBeforeRequest)+2, len(storageKeysAfterRequest)) // 2 images should be added to storage: the original and the thumbnail | 	suite.Equal(len(storageKeysBeforeRequest)+2, len(storageKeysAfterRequest)) // 2 images should be added to storage: the original and the thumbnail | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue