trustbloc / sidetree-mock

Provides a node that exposes the Sidetree API anchored against a mock ledger (based on http://github.com/trustbloc/sidetree-core-go)
Apache License 2.0
3 stars 4 forks source link

chore: Fix and enable interop tests #343

Closed sandrask closed 2 years ago

sandrask commented 2 years ago

There are differences between reference app results and sidetree core results due to core having two additional fields (created, equivalent ID). Also, reference app has additional context.

Created expected mismatch results for create, update, recover, deactivate and long form requests that reflect the above mentioned differences and enabled interop tests.

Closes #338

Signed-off-by: Sandra Vrtikapa sandra.vrtikapa@securekey.com

codecov[bot] commented 2 years ago

Codecov Report

Merging #343 (ee66c6b) into main (00494cc) will decrease coverage by 0.41%. The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #343      +/-   ##
==========================================
- Coverage   92.08%   91.66%   -0.42%     
==========================================
  Files           3        3              
  Lines         139      132       -7     
==========================================
- Hits          128      121       -7     
  Misses          6        6              
  Partials        5        5              
Impacted Files Coverage Δ
pkg/observer/observer.go 100.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 00494cc...ee66c6b. Read the comment docs.