CodeChain-io / CodeChain-io/codechain-indexer

Inserting a row to the AssetImages table fails in the "test/-asset.spec.ts" test

Offen
#338 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
21
Forks
15
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

You can run the command below to make the error.

```
NODE_ENV=test yarn mocha --exit -r ts-node/register --timeout 60000 --recursive test/api/asset.spec.ts
```

Here is the log from the Postgresql when you run the command above.

```
2019-11-18 17:00:42.129 KST [72847] ERROR: insert or update on table "AssetImages" violates foreign key constraint "AssetImages_assetType_fkey"
2019-11-18 17:00:42.129 KST [72847] DETAIL: Key (assetType)=(b03745e7296053068a1ac475b377656574b394d3) is not present in table "AssetSchemes".
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.