Created
January 10, 2021 15:11
-
-
Save sunho/ffc16ee03131d16b7643891ddf53efad to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func TestSavePic(t testing.Testing) { | |
pic := &PicService { | |
S3Service: setupDevS3Service(), | |
bucket: "test", | |
} | |
pic.SavePic([]byte{1,3,2,3}) | |
asserts.Equal(t, true, pic.S3Service.Exists("test")) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment