Revert "trying to find reason for failing tests in Jenkins, locally all tests are green"

This reverts commit 411342eb0b.
This commit is contained in:
Michael Hoennig 2019-04-27 06:35:51 +02:00
parent 411342eb0b
commit f08a1d89b3

View File

@ -325,7 +325,7 @@ public class AssetResourceIntTest {
// Get all the assetList where documentDate equals to UPDATED_DOCUMENT_DATE
defaultAssetShouldNotBeFound("documentDate.equals=" + UPDATED_DOCUMENT_DATE);
} catch (java.lang.AssertionError exc) {
} catch (Exception exc) {
// TOOD: on Jenkins the customer row vanishes, locally all tests are green
assertThat(customerService.findOne(asset.getMembership().getCustomer().getId())).as("postcondition failed").isNotNull();
}