Skip to content

Commit

Permalink
Merge pull request #157 from oceanprotocol/feature/cleanup-test
Browse files Browse the repository at this point in the history
feature/cleanup-test
  • Loading branch information
Ahmed Ali committed Jul 15, 2020
2 parents 78b7b09 + 0e74521 commit b9891bf
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions test/integration/ComputeFlow.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@ import { DataTokens } from '../../src/datatokens/Datatokens'
import { Ocean } from '../../src/ocean/Ocean'
import config from './config'
import { assert } from 'console'
import { ComputeJob } from '../../src/ocean/interfaces/ComputeJob'
import {
Service,
ServiceComputePrivacy,
ServiceCompute
} from '../../src/ddo/interfaces/Service'
import { ServiceComputePrivacy } from '../../src/ddo/interfaces/Service'
const Web3 = require('web3')
const web3 = new Web3('http://127.0.0.1:8545')
const factory = require('@oceanprotocol/contracts/artifacts/development/Factory.json')
Expand All @@ -23,11 +18,9 @@ describe('Compute flow', () => {
let datasetNoRawAlgo
let datasetWithTrustedAlgo
let algorithmAsset
let marketplace
let contracts
let datatoken
let tokenAddress
let service1
let price
let ocean
let computeService
Expand All @@ -42,7 +35,6 @@ describe('Compute flow', () => {

const dateCreated = new Date(Date.now()).toISOString().split('.')[0] + 'Z' // remove milliseconds

const marketplaceAllowance = 20
const tokenAmount = 100

const timeout = 86400
Expand Down Expand Up @@ -73,7 +65,6 @@ describe('Compute flow', () => {
owner = (await ocean.accounts.list())[0]
alice = (await ocean.accounts.list())[1]
bob = (await ocean.accounts.list())[2]
marketplace = (await ocean.accounts.list())[3]
data = { t: 1, url: ocean.config.metadataStoreUri }
blob = JSON.stringify(data)
await contracts.deployContracts(owner.getId())
Expand Down

0 comments on commit b9891bf

Please sign in to comment.