fix unit tests

This commit is contained in:
Peter Rifel 2020-07-07 22:34:12 -05:00
parent 844626ae44
commit fc35f9d59e
No known key found for this signature in database
GPG Key ID: BC6469E5B16DB2B6
2 changed files with 2 additions and 0 deletions

View File

@ -155,6 +155,7 @@ func TestSharedVolume(t *testing.T) {
sharedVolume, err := c.CreateVolume(&ec2.CreateVolumeInput{
TagSpecifications: []*ec2.TagSpecification{
{
ResourceType: aws.String(ec2.ResourceTypeVolume),
Tags: []*ec2.Tag{
{
Key: aws.String(ownershipTagKey),

View File

@ -149,6 +149,7 @@ func TestSecurityGroupCreate(t *testing.T) {
Description: s("Description"),
GroupId: sg1.ID,
VpcId: vpc1.ID,
Tags: []*ec2.Tag{},
GroupName: s("sg1"),
}
actual := c.SecurityGroups[*sg1.ID]