@@ -274,8 +274,6 @@ contract('AgiCrowdsale', async ([miner, firstContributor, secondContributor, whi
274
274
await increaseTimeTo ( latestTime ( ) + duration . weeks ( 2 ) )
275
275
276
276
await this . agiCrowdsale . finalize ( )
277
- await this . agiCrowdsale . transferOwnership ( miner )
278
-
279
277
280
278
assert . isTrue ( await this . agiCrowdsale . isFinalized . call ( ) )
281
279
@@ -296,7 +294,6 @@ contract('AgiCrowdsale', async ([miner, firstContributor, secondContributor, whi
296
294
297
295
await increaseTimeTo ( latestTime ( ) + duration . weeks ( 2 ) )
298
296
await this . agiCrowdsale . finalize ( )
299
- await this . agiCrowdsale . transferOwnership ( miner )
300
297
301
298
const before = web3 . fromWei ( web3 . eth . getBalance ( firstContributor ) , 'ether' )
302
299
@@ -310,9 +307,7 @@ contract('AgiCrowdsale', async ([miner, firstContributor, secondContributor, whi
310
307
await increaseTimeTo ( latestTime ( ) + duration . weeks ( 2 ) )
311
308
312
309
await this . agiCrowdsale . finalize ( )
313
- await this . agiCrowdsale . transferOwnership ( miner )
314
310
315
-
316
311
const initialSupply = await this . token . balanceOf ( this . agiCrowdsale . address )
317
312
const balanceBeforeClaim = await this . token . balanceOf ( miner )
318
313
@@ -334,8 +329,7 @@ contract('AgiCrowdsale', async ([miner, firstContributor, secondContributor, whi
334
329
335
330
await increaseTimeTo ( latestTime ( ) + duration . weeks ( 2 ) )
336
331
337
- await this . agiCrowdsale . finalize ( )
338
- await this . agiCrowdsale . transferOwnership ( miner )
332
+ await this . agiCrowdsale . finalize ( )
339
333
340
334
assert . isFalse ( await this . token . paused . call ( ) , 'token should be unpaused' )
341
335
} )
0 commit comments