Skip to content

Commit a8ab15e

Browse files
committed
fixing tests
1 parent 88403ab commit a8ab15e

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

debug_toolbar/static/debug_toolbar/js/history.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ function switchHistory(newStoreId) {
2323
}
2424
//we're already in history panel, so handle locally vs replacing active html
2525
delete data.HistoryPanel;
26+
delete data.RedirectsPanel;
2627
replaceToolbarState(newStoreId, data);
2728
});
2829
}

tests/panels/test_history.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ class HistoryViewsTestCase(IntegrationTestCase):
7979
"SignalsPanel",
8080
"LoggingPanel",
8181
"ProfilingPanel",
82+
"HistoryPanel",
83+
"RedirectsPanel",
8284
}
8385

8486
def test_history_panel_integration_content(self):

0 commit comments

Comments
 (0)