Skip to content

Commit

Permalink
BDPV
Browse files Browse the repository at this point in the history
  • Loading branch information
rpochet committed Oct 6, 2023
1 parent 3d4252c commit f6b83bc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions server/test/services/sunspec/lib/bdpv/sunspec.bdpv.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ describe('SunSpec BDPV', () => {

beforeEach(() => {
const feature1 = {
property: PROPERTY.ACWH,
type: 'energy',
last_value: 1234,
};
const feature2 = {
property: PROPERTY.ACWH,
type: 'energy',
last_value: 5678,
};
gladys = {
Expand Down Expand Up @@ -46,9 +46,11 @@ describe('SunSpec BDPV', () => {
getDevices: () => {
return [
{
external_id: 'sunspec:1:mppt:ac',
features: [feature1],
},
{
external_id: 'sunspec:2:mppt:ac',
features: [feature2],
},
];
Expand Down

0 comments on commit f6b83bc

Please sign in to comment.