mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure that Utilities(Backup/Restore/Maintenence/Import-Export) should not be started
if binary path is wrong and also added 'Stop Process' button to cancel the process.
This commit is contained in:
@@ -385,7 +385,7 @@ describe('BackupDialogWrapper', () => {
|
||||
|
||||
networkMock.onPost('/backup/job/10').reply((request) => {
|
||||
dataSentToServer = request.data;
|
||||
return [200, {}];
|
||||
return [200, {'success': 1}];
|
||||
});
|
||||
});
|
||||
|
||||
@@ -485,7 +485,7 @@ describe('BackupDialogWrapper', () => {
|
||||
|
||||
networkMock.onPost('/backup/job/10/object').reply((request) => {
|
||||
dataSentToServer = request.data;
|
||||
return [200, {}];
|
||||
return [200, {'success': 1}];
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user