You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by sr...@apache.org on 2023/06/16 12:40:17 UTC

[plc4x] branch develop updated: test(plc4go/cbus): fix failing new driver context test

This is an automated email from the ASF dual-hosted git repository.

sruehl pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/develop by this push:
     new 72432316d4 test(plc4go/cbus): fix failing new driver context test
72432316d4 is described below

commit 72432316d4d9caa514db4168395d67a09d36c223
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Fri Jun 16 14:40:10 2023 +0200

    test(plc4go/cbus): fix failing new driver context test
---
 plc4go/internal/cbus/DriverContext_test.go | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/plc4go/internal/cbus/DriverContext_test.go b/plc4go/internal/cbus/DriverContext_test.go
index a8bb5982db..4163af3056 100644
--- a/plc4go/internal/cbus/DriverContext_test.go
+++ b/plc4go/internal/cbus/DriverContext_test.go
@@ -35,8 +35,11 @@ func TestNewDriverContext(t *testing.T) {
 		wantErr assert.ErrorAssertionFunc
 	}{
 		{
-			name:    "Test constructor",
-			want:    DriverContext{},
+			name: "Test constructor",
+			want: DriverContext{
+				awaitDisconnectComplete: true,
+				awaitSetupComplete:      true,
+			},
 			wantErr: assert.NoError,
 		},
 	}