Skip to content

Commit

Permalink
Merge pull request #1275 from AutarkLabs/mainnet-audit-allocations-4-…
Browse files Browse the repository at this point in the history
…increasedcoverage

Updated test to improve coverage
  • Loading branch information
ottodevs committed Oct 3, 2019
2 parents f85f075 + 70f9819 commit b850a07
Show file tree
Hide file tree
Showing 10 changed files with 197 additions and 100 deletions.
2 changes: 1 addition & 1 deletion apps/allocations/.solcover.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
norpc: true,
skipFiles: ['misc/Migrations.sol', 'test/TestImports.sol'],
skipFiles: ['test/Imports.sol'],
// TODO: Change this hack when the feel to update solidity-coverage upstream
// rsync is needed so symlinks are resolved on copy of lerna packages
testCommand:
Expand Down
2 changes: 1 addition & 1 deletion apps/allocations/contracts/Allocations.sol
Original file line number Diff line number Diff line change
Expand Up @@ -604,4 +604,4 @@ contract Allocations is AragonApp {
// Must be view for mocking purposes

function getMaxPeriodTransitions() internal view returns (uint64) { return MAX_UINT64; }
}
}
25 changes: 0 additions & 25 deletions apps/allocations/contracts/misc/Migrations.sol

This file was deleted.

9 changes: 9 additions & 0 deletions apps/allocations/contracts/test/Imports.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
pragma solidity ^0.4.24;
// HACK to workaround truffle artifact loading on dependencies

import "@aragon/apps-shared-minime/contracts/MiniMeToken.sol";
import "@aragon/os/contracts/factory/DAOFactory.sol";


// solium-disable-next-line no-empty-blocks
contract Imports {}
27 changes: 0 additions & 27 deletions apps/allocations/contracts/test/TestImports.sol

This file was deleted.

Empty file.
5 changes: 0 additions & 5 deletions apps/allocations/migrations/1_initial_migration.js

This file was deleted.

5 changes: 0 additions & 5 deletions apps/allocations/migrations/2_deploy_contracts.js

This file was deleted.

0 comments on commit b850a07

Please sign in to comment.