fixing failing unit tests in travisCI

This commit is contained in:
El RIDO 2019-06-27 21:18:46 +02:00
parent 11375a4f59
commit 2cbf528894
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
4 changed files with 6 additions and 10 deletions

View file

@ -4817,10 +4817,6 @@ jQuery.PrivateBin = (function($, RawDeflate) {
// initialize other modules/"classes"
Alert.init();
if (!InitialCheck.init()) {
// something major is wrong, stop right away
return;
}
Model.init();
AttachmentViewer.init();
DiscussionViewer.init();
@ -4831,6 +4827,10 @@ jQuery.PrivateBin = (function($, RawDeflate) {
TopNav.init();
UiHelper.init();
z = (await zlib);
if (!InitialCheck.init()) {
// something major is wrong, stop right away
return;
}
// check whether existing paste needs to be shown
try {