Skip to content

Commit 93eb29e

Browse files
committed
Tests for the enabling/disabling disabled for pause
1 parent 4df4ebd commit 93eb29e

File tree

1 file changed

+18
-9
lines changed

1 file changed

+18
-9
lines changed

test.http

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,6 @@ Content-Type: application/json
9292
POST {{baseUrl}}/config HTTP/1.1
9393
Content-Type: application/json
9494

95-
{
96-
"emoncms_enabled": false
97-
}
98-
99-
###
100-
101-
POST {{baseUrl}}/config HTTP/1.1
102-
Content-Type: application/json
103-
10495
{
10596
"mqtt_enabled": true,
10697
"mqtt_protocol": "mqtt",
@@ -144,6 +135,24 @@ Content-Type: application/json
144135

145136
###
146137

138+
POST {{baseUrl}}/config HTTP/1.1
139+
Content-Type: application/json
140+
141+
{
142+
"pause_uses_disabled": true
143+
}
144+
145+
###
146+
147+
POST {{baseUrl}}/config HTTP/1.1
148+
Content-Type: application/json
149+
150+
{
151+
"pause_uses_disabled": false
152+
}
153+
154+
###
155+
147156
GET {{baseUrl}}/home.js HTTP/1.1
148157

149158
###

0 commit comments

Comments
 (0)