Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
DerAndereAndi committed Mar 8, 2024
1 parent dd76fab commit c643b4d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion integration_tests/devicediagnosis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type DeviceDiagnosisSuite struct {
}

func (s *DeviceDiagnosisSuite) BeforeTest(suiteName, testName string) {
s.sut, s.remoteSki, s.remoteDevice, s.writeHandler = beforeTest(suiteName, testName, 1, model.FeatureTypeTypeDeviceDiagnosis, model.RoleTypeServer)
s.sut, s.remoteSki, s.remoteDevice, s.writeHandler = beforeTest(1, model.FeatureTypeTypeDeviceDiagnosis, model.RoleTypeServer)

// f.AddFunctionType(model.FunctionTypeDeviceDiagnosisHeartbeatData, true, false)

Expand Down
2 changes: 1 addition & 1 deletion integration_tests/electricalconnection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func (s *ElectricalConnectionSuite) SetupSuite() {
}

func (s *ElectricalConnectionSuite) BeforeTest(suiteName, testName string) {
s.sut, s.remoteSki, s.remoteDevice, s.writeHandler = beforeTest(suiteName, testName, 1, model.FeatureTypeTypeElectricalConnection, model.RoleTypeClient)
s.sut, s.remoteSki, s.remoteDevice, s.writeHandler = beforeTest(1, model.FeatureTypeTypeElectricalConnection, model.RoleTypeClient)
initialCommunication(s.T(), s.remoteDevice, s.writeHandler)
}

Expand Down
2 changes: 1 addition & 1 deletion integration_tests/helper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func (t *WriteMessageHandler) ResultWithReference(msgCounterReference *model.Msg
}

func beforeTest(
suiteName, testName string, fId uint, ftype model.FeatureTypeType,
fId uint, ftype model.FeatureTypeType,
frole model.RoleType) (api.DeviceLocalInterface, string, api.DeviceRemoteInterface, *WriteMessageHandler) {
sut := spine.NewDeviceLocal("TestBrandName", "TestDeviceModel", "TestSerialNumber", "TestDeviceCode",
"TestDeviceAddress", model.DeviceTypeTypeEnergyManagementSystem, model.NetworkManagementFeatureSetTypeSmart, time.Second*4)
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/measurement_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func (s *MeasurementSuite) SetupSuite() {
}

func (s *MeasurementSuite) BeforeTest(suiteName, testName string) {
s.sut, s.remoteSki, s.remoteDevice, s.writeHandler = beforeTest(suiteName, testName, 2, model.FeatureTypeTypeMeasurement, model.RoleTypeClient)
s.sut, s.remoteSki, s.remoteDevice, s.writeHandler = beforeTest(2, model.FeatureTypeTypeMeasurement, model.RoleTypeClient)
initialCommunication(s.T(), s.remoteDevice, s.writeHandler)
}

Expand Down

0 comments on commit c643b4d

Please sign in to comment.