From da5f743cd3a7a3e55beae8bfc997b7c17e7c985a Mon Sep 17 00:00:00 2001 From: Samuel Venzi Date: Wed, 10 Jan 2024 13:30:28 -0300 Subject: [PATCH 1/4] Start fixing online testing suite Signed-off-by: Samuel Venzi --- test/tryout.go | 223 ++++++++++++++++++++++++++----------------------- test/utils.go | 1 + 2 files changed, 119 insertions(+), 105 deletions(-) diff --git a/test/tryout.go b/test/tryout.go index 35b15ed..af6d818 100644 --- a/test/tryout.go +++ b/test/tryout.go @@ -8,111 +8,111 @@ import ( func tryout() []error { var err error - // Get Header - fmt.Print("Get Header... ") - err = GetAndVerify( - "http://localhost:80/api/query/getHeader", - 200, - map[string]interface{}{ - "ccToolsVersion": "v0.7.1", - "colors": []interface{}{ - "#4267B2", - "#34495E", - "#ECF0F1", - }, - "name": "CC Tools Demo", - "orgMSP": "org1MSP", - "orgTitle": "CC Tools Demo", - "version": "1.0.0", - }, - ) - if err != nil { - fail() - log.Fatalln(err) - } - pass() + // // Get Header + // fmt.Print("Get Header... ") + // err = GetAndVerify( + // "http://localhost:80/api/query/getHeader", + // 200, + // map[string]interface{}{ + // "ccToolsVersion": "v0.8.1", + // "colors": []interface{}{ + // "#4267B2", + // "#34495E", + // "#ECF0F1", + // }, + // "name": "CC Tools Demo", + // "orgMSP": "orgMSP", + // "orgTitle": "CC Tools Demo", + // "version": "1.0.0", + // }, + // ) + // if err != nil { + // fail() + // log.Fatalln(err) + // } + // pass() - // Get Transactions - fmt.Print("Get Transactions... ") - err = GetAndVerify( - "http://localhost:80/api/query/getTx", - 200, - []interface{}{ - map[string]interface{}{ - "description": "", - "label": "Create Asset", - "tag": "createAsset", - }, - map[string]interface{}{ - "description": "", - "label": "Update Asset", - "tag": "updateAsset", - }, - map[string]interface{}{ - "description": "", - "label": "Delete Asset", - "tag": "deleteAsset", - }, - map[string]interface{}{ - "callers": []interface{}{"$org3MSP"}, - "description": "Create a New Library", - "label": "Create New Library", - "tag": "createNewLibrary", - }, - map[string]interface{}{ - "callers": []interface{}{"$org2MSP"}, - "description": "Return the number of books of a library", - "label": "Get Number Of Books From Library", - "tag": "getNumberOfBooksFromLibrary", - }, - map[string]interface{}{ - "callers": []interface{}{"$org\\dMSP"}, - "description": "Change the tenant of a book", - "label": "Update Book Tenant", - "tag": "updateBookTenant", - }, - map[string]interface{}{ - "description": "", - "label": "Get Tx", - "tag": "getTx", - }, - map[string]interface{}{ - "description": "", - "label": "Get Header", - "tag": "getHeader", - }, - map[string]interface{}{ - "description": "", - "label": "Get Schema", - "tag": "getSchema", - }, - map[string]interface{}{ - "description": "GetDataTypes returns the primary data type map", - "label": "Get DataTypes", - "tag": "getDataTypes", - }, - map[string]interface{}{ - "description": "", - "label": "Read Asset", - "tag": "readAsset", - }, - map[string]interface{}{ - "description": "", - "label": "Read Asset History", - "tag": "readAssetHistory", - }, - map[string]interface{}{ - "description": "", - "label": "Search World State", - "tag": "search", - }, - }, - ) - if err != nil { - fail() - log.Fatalln(err) - } - pass() + // // Get Transactions + // fmt.Print("Get Transactions... ") + // err = GetAndVerify( + // "http://localhost:80/api/query/getTx", + // 200, + // []interface{}{ + // map[string]interface{}{ + // "description": "", + // "label": "Create Asset", + // "tag": "createAsset", + // }, + // map[string]interface{}{ + // "description": "", + // "label": "Update Asset", + // "tag": "updateAsset", + // }, + // map[string]interface{}{ + // "description": "", + // "label": "Delete Asset", + // "tag": "deleteAsset", + // }, + // map[string]interface{}{ + // "callers": []interface{}{"$org3MSP"}, + // "description": "Create a New Library", + // "label": "Create New Library", + // "tag": "createNewLibrary", + // }, + // map[string]interface{}{ + // "callers": []interface{}{"$org2MSP"}, + // "description": "Return the number of books of a library", + // "label": "Get Number Of Books From Library", + // "tag": "getNumberOfBooksFromLibrary", + // }, + // map[string]interface{}{ + // "callers": []interface{}{"$org\\dMSP"}, + // "description": "Change the tenant of a book", + // "label": "Update Book Tenant", + // "tag": "updateBookTenant", + // }, + // map[string]interface{}{ + // "description": "", + // "label": "Get Tx", + // "tag": "getTx", + // }, + // map[string]interface{}{ + // "description": "", + // "label": "Get Header", + // "tag": "getHeader", + // }, + // map[string]interface{}{ + // "description": "", + // "label": "Get Schema", + // "tag": "getSchema", + // }, + // map[string]interface{}{ + // "description": "GetDataTypes returns the primary data type map", + // "label": "Get DataTypes", + // "tag": "getDataTypes", + // }, + // map[string]interface{}{ + // "description": "", + // "label": "Read Asset", + // "tag": "readAsset", + // }, + // map[string]interface{}{ + // "description": "", + // "label": "Read Asset History", + // "tag": "readAssetHistory", + // }, + // map[string]interface{}{ + // "description": "", + // "label": "Search World State", + // "tag": "search", + // }, + // }, + // ) + // if err != nil { + // fail() + // log.Fatalln(err) + // } + // pass() // Get CreateAsset definition fmt.Print("Get CreateAsset definition... ") @@ -157,18 +157,21 @@ func tryout() []error { "description": "Personal data of someone", "label": "Person", "tag": "person", + "dynamic": false, "writers": nil, }, map[string]interface{}{ "description": "Book", "label": "Book", "tag": "book", + "dynamic": false, "writers": nil, }, map[string]interface{}{ "description": "Library as a collection of books", "label": "Library", "tag": "library", + "dynamic": false, "writers": nil, }, map[string]interface{}{ @@ -177,10 +180,19 @@ func tryout() []error { "readers": []interface{}{ "org2MSP", "org3MSP", + "orgMSP", }, "tag": "secret", + "dynamic": false, "writers": nil, }, + map[string]interface{}{ + "description": "AssetTypeListData", + "dynamic": false, + "label": "AssetTypeListData", + "tag": "assetTypeListData", + "writers": nil, + }, }, ) if err != nil { @@ -212,6 +224,7 @@ func tryout() []error { "tag": "id", "writers": []interface{}{ "org1MSP", + "orgMSP", }, }, map[string]interface{}{ @@ -272,7 +285,7 @@ func tryout() []error { map[string]interface{}{ "@assetType": "person", "@key": "person:47061146-c642-51a1-844a-bf0b17cb5e19", - "@lastTouchBy": "org1MSP", + "@lastTouchBy": "orgMSP", "@lastTx": "createAsset", "height": 0.0, "id": "31820792048", diff --git a/test/utils.go b/test/utils.go index 37f0670..0a89ef1 100644 --- a/test/utils.go +++ b/test/utils.go @@ -52,6 +52,7 @@ func PostAndVerify(url string, body interface{}, expectedStatus int, expectedRes if err != nil { return err } + if !reflect.DeepEqual(expectedResponse, receivedResponse) { return fmt.Errorf("unexpected response\n\nexpected: %#v\n\nreceived: %#v", expectedResponse, receivedResponse) } From d78b1f2ed736c7ee88556b67903de7d77fe89a13 Mon Sep 17 00:00:00 2001 From: Samuel Venzi Date: Wed, 10 Jan 2024 13:32:21 -0300 Subject: [PATCH 2/4] Remove test functions dependend on cc-tools built-in transactions Signed-off-by: Samuel Venzi --- test/tryout.go | 106 ------------------------------------------------- 1 file changed, 106 deletions(-) diff --git a/test/tryout.go b/test/tryout.go index af6d818..2311e77 100644 --- a/test/tryout.go +++ b/test/tryout.go @@ -8,112 +8,6 @@ import ( func tryout() []error { var err error - // // Get Header - // fmt.Print("Get Header... ") - // err = GetAndVerify( - // "http://localhost:80/api/query/getHeader", - // 200, - // map[string]interface{}{ - // "ccToolsVersion": "v0.8.1", - // "colors": []interface{}{ - // "#4267B2", - // "#34495E", - // "#ECF0F1", - // }, - // "name": "CC Tools Demo", - // "orgMSP": "orgMSP", - // "orgTitle": "CC Tools Demo", - // "version": "1.0.0", - // }, - // ) - // if err != nil { - // fail() - // log.Fatalln(err) - // } - // pass() - - // // Get Transactions - // fmt.Print("Get Transactions... ") - // err = GetAndVerify( - // "http://localhost:80/api/query/getTx", - // 200, - // []interface{}{ - // map[string]interface{}{ - // "description": "", - // "label": "Create Asset", - // "tag": "createAsset", - // }, - // map[string]interface{}{ - // "description": "", - // "label": "Update Asset", - // "tag": "updateAsset", - // }, - // map[string]interface{}{ - // "description": "", - // "label": "Delete Asset", - // "tag": "deleteAsset", - // }, - // map[string]interface{}{ - // "callers": []interface{}{"$org3MSP"}, - // "description": "Create a New Library", - // "label": "Create New Library", - // "tag": "createNewLibrary", - // }, - // map[string]interface{}{ - // "callers": []interface{}{"$org2MSP"}, - // "description": "Return the number of books of a library", - // "label": "Get Number Of Books From Library", - // "tag": "getNumberOfBooksFromLibrary", - // }, - // map[string]interface{}{ - // "callers": []interface{}{"$org\\dMSP"}, - // "description": "Change the tenant of a book", - // "label": "Update Book Tenant", - // "tag": "updateBookTenant", - // }, - // map[string]interface{}{ - // "description": "", - // "label": "Get Tx", - // "tag": "getTx", - // }, - // map[string]interface{}{ - // "description": "", - // "label": "Get Header", - // "tag": "getHeader", - // }, - // map[string]interface{}{ - // "description": "", - // "label": "Get Schema", - // "tag": "getSchema", - // }, - // map[string]interface{}{ - // "description": "GetDataTypes returns the primary data type map", - // "label": "Get DataTypes", - // "tag": "getDataTypes", - // }, - // map[string]interface{}{ - // "description": "", - // "label": "Read Asset", - // "tag": "readAsset", - // }, - // map[string]interface{}{ - // "description": "", - // "label": "Read Asset History", - // "tag": "readAssetHistory", - // }, - // map[string]interface{}{ - // "description": "", - // "label": "Search World State", - // "tag": "search", - // }, - // }, - // ) - // if err != nil { - // fail() - // log.Fatalln(err) - // } - // pass() - // Get CreateAsset definition fmt.Print("Get CreateAsset definition... ") err = PostAndVerify( From aa584dcf04b492d6988e83deb3f956fa7cbaf85c Mon Sep 17 00:00:00 2001 From: Samuel Venzi Date: Fri, 12 Jan 2024 15:31:51 -0300 Subject: [PATCH 3/4] Remove tryout.go tests Signed-off-by: Samuel Venzi --- test/go.mod | 3 - test/main.go | 9 - test/tryout.go | 451 ------------------------------------------------- test/utils.go | 68 -------- 4 files changed, 531 deletions(-) delete mode 100644 test/go.mod delete mode 100644 test/main.go delete mode 100644 test/tryout.go delete mode 100644 test/utils.go diff --git a/test/go.mod b/test/go.mod deleted file mode 100644 index ffee639..0000000 --- a/test/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module github.com/hyperledger-labs/cc-tools-demo/test - -go 1.16 diff --git a/test/main.go b/test/main.go deleted file mode 100644 index c76e59f..0000000 --- a/test/main.go +++ /dev/null @@ -1,9 +0,0 @@ -package main - -import "log" - -func main() { - log.SetFlags(log.Lshortfile) - - tryout() -} diff --git a/test/tryout.go b/test/tryout.go deleted file mode 100644 index 2311e77..0000000 --- a/test/tryout.go +++ /dev/null @@ -1,451 +0,0 @@ -package main - -import ( - "fmt" - "log" -) - -func tryout() []error { - var err error - - // Get CreateAsset definition - fmt.Print("Get CreateAsset definition... ") - err = PostAndVerify( - "http://localhost:80/api/query/getTx", - map[string]interface{}{ - "txName": "createAsset", - }, - 200, - map[string]interface{}{ - "args": []interface{}{ - map[string]interface{}{ - "dataType": "[]@asset", - "description": "List of assets to be created.", - "label": "", - "private": false, - "required": true, - "tag": "asset", - }, - }, - "description": "", - "label": "Create Asset", - "metaTx": true, - "method": "POST", - "readOnly": false, - "tag": "createAsset", - }, - ) - if err != nil { - fail() - log.Fatalln(err) - } - pass() - - // Get Asset Types - fmt.Print("Get Asset Types... ") - err = GetAndVerify( - "http://localhost:80/api/query/getSchema", - 200, - []interface{}{ - map[string]interface{}{ - "description": "Personal data of someone", - "label": "Person", - "tag": "person", - "dynamic": false, - "writers": nil, - }, - map[string]interface{}{ - "description": "Book", - "label": "Book", - "tag": "book", - "dynamic": false, - "writers": nil, - }, - map[string]interface{}{ - "description": "Library as a collection of books", - "label": "Library", - "tag": "library", - "dynamic": false, - "writers": nil, - }, - map[string]interface{}{ - "description": "Secret between Org2 and Org3", - "label": "Secret", - "readers": []interface{}{ - "org2MSP", - "org3MSP", - "orgMSP", - }, - "tag": "secret", - "dynamic": false, - "writers": nil, - }, - map[string]interface{}{ - "description": "AssetTypeListData", - "dynamic": false, - "label": "AssetTypeListData", - "tag": "assetTypeListData", - "writers": nil, - }, - }, - ) - if err != nil { - fail() - log.Fatalln(err) - } - pass() - - // Get Person asset type definition - fmt.Print("Get Person asset type definition... ") - err = PostAndVerify( - "http://localhost:80/api/query/getSchema", - map[string]interface{}{ - "assetType": "person", - }, - 200, - map[string]interface{}{ - "tag": "person", - "label": "Person", - "description": "Personal data of someone", - "props": []interface{}{ - map[string]interface{}{ - "dataType": "cpf", - "description": "", - "isKey": true, - "label": "CPF (Brazilian ID)", - "readOnly": false, - "required": true, - "tag": "id", - "writers": []interface{}{ - "org1MSP", - "orgMSP", - }, - }, - map[string]interface{}{ - "dataType": "string", - "description": "", - "isKey": false, - "label": "Name of the person", - "readOnly": false, - "required": true, - "tag": "name", - "writers": nil, - }, - map[string]interface{}{ - "dataType": "datetime", - "description": "", - "isKey": false, - "label": "Date of Birth", - "readOnly": false, - "required": false, - "tag": "dateOfBirth", - "writers": nil, - }, - map[string]interface{}{ - "dataType": "number", - "defaultValue": 0.0, - "description": "", - "isKey": false, - "label": "Person's height", - "readOnly": false, - "required": false, - "tag": "height", - "writers": nil, - }, - }, - }, - ) - if err != nil { - fail() - log.Fatalln(err) - } - pass() - - // Create Person - fmt.Print("Create Person... ") - err = PostAndVerify( - "http://localhost:80/api/invoke/createAsset", - map[string]interface{}{ - "asset": []map[string]interface{}{ - { - "@assetType": "person", - "name": "Maria", - "id": "318.207.920-48", - }, - }, - }, - 200, - []interface{}{ - map[string]interface{}{ - "@assetType": "person", - "@key": "person:47061146-c642-51a1-844a-bf0b17cb5e19", - "@lastTouchBy": "orgMSP", - "@lastTx": "createAsset", - "height": 0.0, - "id": "31820792048", - "name": "Maria", - }, - }, - ) - if err != nil { - fail() - log.Fatalln(err) - } - pass() - - // Create Book - fmt.Print("Create Book... ") - err = PostAndVerify( - "http://localhost:980/api/invoke/createAsset", - map[string]interface{}{ - "asset": []map[string]interface{}{ - { - "@assetType": "book", - "title": "Meu Nome é Maria", - "author": "Maria Viana", - "currentTenant": map[string]interface{}{ - "id": "318.207.920-48", - }, - "genres": []string{ - "biography", - "non-fiction", - }, - "published": "2019-05-06T22:12:41Z", - }, - }, - }, - 200, - []interface{}{ - map[string]interface{}{ - "@assetType": "book", - "@key": "book:a36a2920-c405-51c3-b584-dcd758338cb5", - "@lastTouchBy": "org2MSP", - "@lastTx": "createAsset", - "title": "Meu Nome é Maria", - "author": "Maria Viana", - "currentTenant": map[string]interface{}{ - "@assetType": "person", - "@key": "person:47061146-c642-51a1-844a-bf0b17cb5e19", - }, - "genres": []interface{}{ - "biography", - "non-fiction", - }, - "published": "2019-05-06T22:12:41Z", - }, - }, - ) - if err != nil { - fail() - log.Fatalln(err) - } - pass() - - // Read Book - fmt.Print("Read Book... ") - err = PostAndVerify( - "http://localhost:80/api/query/readAsset", - map[string]interface{}{ - "key": map[string]interface{}{ - "@assetType": "book", - "author": "Maria Viana", - "title": "Meu Nome é Maria", - }, - "resolve": true, - }, - 200, - map[string]interface{}{ - "@assetType": "book", - "@key": "book:a36a2920-c405-51c3-b584-dcd758338cb5", - "@lastTouchBy": "org2MSP", - "@lastTx": "createAsset", - "title": "Meu Nome é Maria", - "author": "Maria Viana", - "currentTenant": map[string]interface{}{ - "@assetType": "person", - "@key": "person:47061146-c642-51a1-844a-bf0b17cb5e19", - "@lastTouchBy": "org1MSP", - "@lastTx": "createAsset", - "height": 0.0, - "id": "31820792048", - "name": "Maria", - }, - "genres": []interface{}{ - "biography", - "non-fiction", - }, - "published": "2019-05-06T22:12:41Z", - }, - ) - if err != nil { - fail() - log.Fatalln(err) - } - pass() - - // Update Person - fmt.Print("Update Person... ") - err = PostAndVerify( - "http://localhost:80/api/invoke/updateAsset", - map[string]interface{}{ - "update": map[string]interface{}{ - "@assetType": "person", - "id": "318.207.920-48", - "name": "Maria", - "height": 1.66, - }, - }, - 200, - map[string]interface{}{ - "@assetType": "person", - "@key": "person:47061146-c642-51a1-844a-bf0b17cb5e19", - "@lastTouchBy": "org1MSP", - "@lastTx": "updateAsset", - "height": 1.66, - "id": "31820792048", - "name": "Maria", - }, - ) - if err != nil { - fail() - log.Fatalln(err) - } - pass() - - // Check if person was updated - fmt.Print("Check if person was updated... ") - err = PostAndVerify( - "http://localhost:80/api/query/readAsset", - map[string]interface{}{ - "key": map[string]interface{}{ - "@assetType": "person", - "id": "318.207.920-48", - }, - }, - 200, - map[string]interface{}{ - "@assetType": "person", - "@key": "person:47061146-c642-51a1-844a-bf0b17cb5e19", - "@lastTouchBy": "org1MSP", - "@lastTx": "updateAsset", - "height": 1.66, - "id": "31820792048", - "name": "Maria", - }, - ) - if err != nil { - fail() - log.Fatalln(err) - } - pass() - - // Query all books using CouchDB - fmt.Print("Query all books using CouchDB... ") - err = PostAndVerify( - "http://localhost:80/api/query/search", - map[string]interface{}{ - "query": map[string]interface{}{ - "selector": map[string]interface{}{ - "@assetType": "book", - }, - }, - "resolve": true, - }, - 200, - map[string]interface{}{ - "metadata": map[string]interface{}{}, - "result": []interface{}{ - map[string]interface{}{ - "@assetType": "book", - "@key": "book:a36a2920-c405-51c3-b584-dcd758338cb5", - "@lastTouchBy": "org2MSP", - "@lastTx": "createAsset", - "author": "Maria Viana", - "currentTenant": map[string]interface{}{ - "@assetType": "person", - "@key": "person:47061146-c642-51a1-844a-bf0b17cb5e19", - "@lastTouchBy": "org1MSP", - "@lastTx": "updateAsset", - "height": 1.66, - "id": "31820792048", - "name": "Maria"}, - "genres": []interface{}{ - "biography", - "non-fiction", - }, - "published": "2019-05-06T22:12:41Z", - "title": "Meu Nome é Maria", - }, - }, - }, - ) - if err != nil { - fail() - log.Fatalln(err) - } - pass() - - // Delete book - fmt.Print("Delete book... ") - err = PostAndVerify( - "http://localhost:980/api/invoke/deleteAsset", - map[string]interface{}{ - "key": map[string]interface{}{ - "@assetType": "book", - "@key": "book:a36a2920-c405-51c3-b584-dcd758338cb5", - }, - }, - 200, - map[string]interface{}{ - "@assetType": "book", - "@key": "book:a36a2920-c405-51c3-b584-dcd758338cb5", - "@lastTouchBy": "org2MSP", - "@lastTx": "createAsset", - "title": "Meu Nome é Maria", - "author": "Maria Viana", - "currentTenant": map[string]interface{}{ - "@assetType": "person", - "@key": "person:47061146-c642-51a1-844a-bf0b17cb5e19", - }, - "genres": []interface{}{ - "biography", - "non-fiction", - }, - "published": "2019-05-06T22:12:41Z", - }, - ) - if err != nil { - fail() - log.Fatalln(err) - } - pass() - - // Delete person - fmt.Print("Delete person... ") - err = PostAndVerify( - "http://localhost:80/api/invoke/deleteAsset", - map[string]interface{}{ - "key": map[string]interface{}{ - "@assetType": "person", - "@key": "person:47061146-c642-51a1-844a-bf0b17cb5e19", - }, - }, - 200, - map[string]interface{}{ - "@assetType": "person", - "@key": "person:47061146-c642-51a1-844a-bf0b17cb5e19", - "@lastTouchBy": "org1MSP", - "@lastTx": "updateAsset", - "height": 1.66, - "id": "31820792048", - "name": "Maria", - }, - ) - if err != nil { - fail() - log.Fatalln(err) - } - pass() - - return nil -} diff --git a/test/utils.go b/test/utils.go deleted file mode 100644 index 0a89ef1..0000000 --- a/test/utils.go +++ /dev/null @@ -1,68 +0,0 @@ -package main - -import ( - "bytes" - "encoding/json" - "fmt" - "io/ioutil" - "net/http" - "reflect" -) - -func GetAndVerify(url string, expectedStatus int, expectedResponse interface{}) error { - resp, err := http.Get(url) - if err != nil { - return err - } - if resp.StatusCode != expectedStatus { - return fmt.Errorf("wrong status. expected: %d received: %d", expectedStatus, resp.StatusCode) - } - resBody, err := ioutil.ReadAll(resp.Body) - if err != nil { - return err - } - var receivedResponse interface{} - err = json.Unmarshal(resBody, &receivedResponse) - if err != nil { - return err - } - if !reflect.DeepEqual(expectedResponse, receivedResponse) { - return fmt.Errorf("unexpected response\n\nexpected: %#v\n\nreceived: %#v", expectedResponse, receivedResponse) - } - return nil -} - -func PostAndVerify(url string, body interface{}, expectedStatus int, expectedResponse interface{}) error { - postBody, _ := json.Marshal(body) - postBodyBuf := bytes.NewBuffer(postBody) - - resp, err := http.Post(url, "application/json", postBodyBuf) - if err != nil { - return err - } - resBody, err := ioutil.ReadAll(resp.Body) - if err != nil { - return err - } - if resp.StatusCode != expectedStatus { - return fmt.Errorf("wrong status. expected: %d received: %d\n%s", expectedStatus, resp.StatusCode, string(resBody)) - } - var receivedResponse interface{} - err = json.Unmarshal(resBody, &receivedResponse) - if err != nil { - return err - } - - if !reflect.DeepEqual(expectedResponse, receivedResponse) { - return fmt.Errorf("unexpected response\n\nexpected: %#v\n\nreceived: %#v", expectedResponse, receivedResponse) - } - return nil -} - -func fail() { - fmt.Println("FAIL") -} - -func pass() { - fmt.Println("PASS") -} From 90279100da5269f2d5c28dd29f888a8a815b670c Mon Sep 17 00:00:00 2001 From: Samuel Venzi Date: Fri, 12 Jan 2024 15:34:23 -0300 Subject: [PATCH 4/4] Remove /test from go.work Signed-off-by: Samuel Venzi --- go.work | 1 - 1 file changed, 1 deletion(-) diff --git a/go.work b/go.work index 14497ad..190427b 100644 --- a/go.work +++ b/go.work @@ -3,5 +3,4 @@ go 1.19 use ( ./ccapi ./chaincode - ./test )