Browse Source

review comments

Matthew R Kasun 2 years ago
parent
commit
bd40915451
1 changed files with 1 additions and 1 deletions
  1. 1 1
      functions/helpers_test.go

+ 1 - 1
functions/helpers_test.go

@@ -55,7 +55,7 @@ func TestNetworkExists(t *testing.T) {
 	assert.Nil(t, err)
 	exists, err = logic.NetworkExists(testNetwork.NetID)
 	assert.Nil(t, err)
-	assert.NotNil(t, exists)
+	assert.True(t, exists)
 
 	err = database.DeleteRecord(database.NETWORKS_TABLE_NAME, testNetwork.NetID)
 	assert.Nil(t, err)