Selaa lähdekoodia

review comments

Matthew R Kasun 2 vuotta sitten
vanhempi
sitoutus
bd40915451
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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)