Summary
Modify the existing signed_doc/tests by using build_verify_and_publish instead of .inspect(|v| provider.add_document(v).unwrap())?.
This would increase reliability and verifiability of our tests, because it would properly verify each document before putting into the TestCatalystProvider.
So it would not violate our main current assumption, that everything what's coming from provider is valid.
Description
For each test file create a separate PR
Summary
Modify the existing
signed_doc/testsby usingbuild_verify_and_publishinstead of.inspect(|v| provider.add_document(v).unwrap())?.This would increase reliability and verifiability of our tests, because it would properly verify each document before putting into the
TestCatalystProvider.So it would not violate our main current assumption, that everything what's coming from provider is valid.
Description
For each test file create a separate PR