Skip to content

Commit

Permalink
fixing the vm id tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tombuildsstuff committed Oct 4, 2019
1 parent fa211f8 commit 5d1b633
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ func TestParseVirtualMachineScaleSetID(t *testing.T) {
Expected: nil,
},
{
Name: "No Network Security Groups Segment",
Name: "No Virtual Machine Scale Set Segment",
Input: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/foo",
Expected: nil,
},
{
Name: "No Network Security Groups Value",
Input: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/foo/networkSecurityGroups/",
Name: "No Virtual Machine Scale Set Value",
Input: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/foo/virtualMachineScaleSets/",
Expected: nil,
},
{
Name: "Completed",
Input: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/foo/networkSecurityGroups/example",
Input: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/foo/virtualMachineScaleSets/example",
Expected: &VirtualMachineScaleSetResourceID{
Name: "example",
Base: azure.ResourceID{
Expand Down

0 comments on commit 5d1b633

Please sign in to comment.