Browse Source

fixing test

afeiszli 3 năm trước cách đây
mục cha
commit
ccee46e58f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      controllers/node_test.go

+ 1 - 1
controllers/node_test.go

@@ -31,7 +31,7 @@ func TestCreateEgressGateway(t *testing.T) {
 		gateway.NodeID = createnode.ID
 		node, err := logic.CreateEgressGateway(gateway)
 		assert.Equal(t, models.Node{}, node)
-		assert.EqualError(t, err, "freebsd is unsupported for egress gateways")
+		assert.EqualError(t, err, "windows is unsupported for egress gateways")
 	})
 	t.Run("Success", func(t *testing.T) {
 		deleteAllNodes()