From af7a3d7127d98f6b2b0ac3d270d92e174e85bf26 Mon Sep 17 00:00:00 2001
From: cgeek <cem.moreau@gmail.com>
Date: Sat, 30 Jun 2018 16:49:48 +0200
Subject: [PATCH] [fix] tests: remove console.log(block) to have cleaner tests
 output

---
 app/service/BlockchainService.ts  | 1 -
 test/integration/tools/toolbox.ts | 2 --
 2 files changed, 3 deletions(-)

diff --git a/app/service/BlockchainService.ts b/app/service/BlockchainService.ts
index bc34133c3..5efc339d0 100644
--- a/app/service/BlockchainService.ts
+++ b/app/service/BlockchainService.ts
@@ -207,7 +207,6 @@ export class BlockchainService extends FIFOService {
               await this.blockResolution()
               // Resolve the potential forks
               await this.forkResolution()
-              console.log(dto)
               const current = await this.current()
               this.push({
                 bcEvent: OtherConstants.BC_EVENT.RESOLUTION_DONE,
diff --git a/test/integration/tools/toolbox.ts b/test/integration/tools/toolbox.ts
index a975ad95a..e833f89e1 100644
--- a/test/integration/tools/toolbox.ts
+++ b/test/integration/tools/toolbox.ts
@@ -489,7 +489,6 @@ export class TestingServer {
     if (!blocksResolved) {
       throw Error(DataErrors[DataErrors.BLOCK_WASNT_COMMITTED])
     }
-    console.log(blocksResolved.getRawSigned())
     return blocksResolved
   }
 
@@ -498,7 +497,6 @@ export class TestingServer {
     if (!blocksResolved) {
       throw Error(DataErrors[DataErrors.BLOCK_WASNT_COMMITTED])
     }
-    console.log(blocksResolved.getRawSigned())
     return blocksResolved
   }
 
-- 
GitLab