Commit ae36f41 1 parent 0c9a753 commit ae36f41 Copy full SHA for ae36f41
File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1293,7 +1293,7 @@ def copy_dashboard(
1293
1293
1294
1294
@cloud
1295
1295
@experimental
1296
- def update_dashboard_automatic_refresh_seconds (
1296
+ def update_dashboard_automatic_refresh_minutes (
1297
1297
self , id : str , minutes : int
1298
1298
) -> Response :
1299
1299
# NOTE(jpavlav): The payload expects milliseconds, we are doing a conversion
Original file line number Diff line number Diff line change @@ -196,16 +196,16 @@ def test_dashboard_gadgets(self):
196
196
reason = "Functionality only available on Jira Cloud" ,
197
197
)
198
198
@allow_on_cloud
199
- def test_update_dashboard_automatic_refresh_seconds (self ):
199
+ def test_update_dashboard_automatic_refresh_minutes (self ):
200
200
dashboard = self .jira .create_dashboard (
201
201
name = rndstr (), share_permissions = [{"type" : "authenticated" }]
202
202
)
203
203
self .dashboards_to_delete .append (dashboard )
204
- response = self .jira .update_dashboard_automatic_refresh_seconds (
204
+ response = self .jira .update_dashboard_automatic_refresh_minutes (
205
205
dashboard .id , 10
206
206
)
207
207
self .assertEqual (response .status_code , 204 )
208
- response = self .jira .update_dashboard_automatic_refresh_seconds (dashboard .id , 0 )
208
+ response = self .jira .update_dashboard_automatic_refresh_minutes (dashboard .id , 0 )
209
209
self .assertEqual (response .status_code , 204 )
210
210
211
211
@pytest .mark .skipif (
You can’t perform that action at this time.
0 commit comments