github.com/mponton/terratest@v0.44.0/modules/azure/synapse_test.go (about)

     1  package azure
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/stretchr/testify/require"
     7  )
     8  
     9  /*
    10  The below tests are currently stubbed out, with the expectation that they will throw errors.
    11  If/when CRUD methods are introduced for Azure Synapse, these tests can be extended
    12  */
    13  
    14  func TestGetSynapseWorkspaceE(t *testing.T) {
    15  	t.Parallel()
    16  
    17  	resGroupName := ""
    18  	subscriptionID := ""
    19  	workspaceName := ""
    20  
    21  	_, err := GetSynapseWorkspaceE(t, subscriptionID, resGroupName, workspaceName)
    22  	require.Error(t, err)
    23  }
    24  
    25  func TestGetSynapseSqlPoolE(t *testing.T) {
    26  	t.Parallel()
    27  
    28  	resGroupName := ""
    29  	subscriptionID := ""
    30  	workspaceName := ""
    31  	sqlPoolName := ""
    32  
    33  	_, err := GetSynapseSqlPoolE(t, subscriptionID, resGroupName, workspaceName, sqlPoolName)
    34  	require.Error(t, err)
    35  }