From 868de7c17863e90404e165819d2d73983765f5ed Mon Sep 17 00:00:00 2001 From: Jamie Hewitt Date: Wed, 18 May 2022 11:47:02 +0300 Subject: [PATCH] fixing linting & solving conflict --- .github/workflows/ci.yml | 5 ++- .../SimplePublishConsumeFlow.test.ts | 41 ------------------- 2 files changed, 3 insertions(+), 43 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 26d8ce11..962ca189 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -219,8 +219,9 @@ jobs: - name: commit run: | # Stage the file, commit and push - BRANCH=$(git branch --show-current) - git checkout "${BRANCH}" + BRANCH=${GITHUB_REF#refs/heads/} + echo ${BRANCH} + git checkout ${BRANCH} git add CodeExamples.md git commit -m "Updating CodeExamples.md" git push \ No newline at end of file diff --git a/test/integration/SimplePublishConsumeFlow.test.ts b/test/integration/SimplePublishConsumeFlow.test.ts index 6cd62f15..1036ed69 100644 --- a/test/integration/SimplePublishConsumeFlow.test.ts +++ b/test/integration/SimplePublishConsumeFlow.test.ts @@ -14,47 +14,6 @@ import { ZERO_ADDRESS } from '../../src' import { ProviderFees, Erc20CreateParams, DDO } from '../../src/@types' -<<<<<<< HEAD - -const assetUrl = [ - { - type: 'url', - url: 'https://raw.githubusercontent.com/oceanprotocol/testdatasets/main/shs_dataset_test.txt', - method: 'GET' - } -] -const ddo: DDO = { - '@context': ['https://w3id.org/did/v1'], - id: 'did:op:efba17455c127a885ec7830d687a8f6e64f5ba559f8506f8723c1f10f05c049c', - version: '4.0.0', - chainId: 4, - nftAddress: '0x0', - metadata: { - created: '2021-12-20T14:35:20Z', - updated: '2021-12-20T14:35:20Z', - type: 'dataset', - name: 'dfgdfgdg', - description: 'd dfgd fgd dfg dfgdfgd dfgdf', - tags: [''], - author: 'dd', - license: 'https://market.oceanprotocol.com/terms', - additionalInformation: { - termsAndConditions: true - } - }, - services: [ - { - id: 'notAnId', - type: 'access', - files: '', - datatokenAddress: '0xa15024b732A8f2146423D14209eFd074e61964F3', - serviceEndpoint: 'https://providerv4.rinkeby.oceanprotocol.com', - timeout: 0 - } - ] -} -======= ->>>>>>> 620b5d3a24e3d76a7b9ac1fc78a370add76f549a describe('Simple Publish & consume test', async () => { let config: Config