@@ -27,6 +27,7 @@ import (
27
27
"testing"
28
28
29
29
"github.com/dchest/uniuri"
30
+ "github.com/stretchr/testify/assert"
30
31
"github.com/stretchr/testify/require"
31
32
32
33
driver "github.com/arangodb/go-driver"
@@ -161,10 +162,10 @@ func TestMultiDeployment(t *testing.T) {
161
162
collections2 , err := db2 .Collections (ctx )
162
163
require .NoError (t , err , "failed to get collections" )
163
164
164
- require .True (t , containsCollection (collections1 , "col1" ), "collection missing" )
165
- require .True (t , containsCollection (collections2 , "col2" ), "collection missing" )
166
- require .False (t , containsCollection (collections1 , "col2" ), "collection must not be in this deployment" )
167
- require .False (t , containsCollection (collections2 , "col1" ), "collection must not be in this deployment" )
165
+ assert .True (t , containsCollection (collections1 , "col1" ), "collection missing" )
166
+ assert .True (t , containsCollection (collections2 , "col2" ), "collection missing" )
167
+ assert .False (t , containsCollection (collections1 , "col2" ), "collection must not be in this deployment" )
168
+ assert .False (t , containsCollection (collections2 , "col1" ), "collection must not be in this deployment" )
168
169
169
170
// Cleanup
170
171
removeDeployment (deploymentClient , deploymentTemplate1 .GetName (), k8sNameSpace )
0 commit comments