Fair-Squares / fair-squares

Fair housing for all
http://www.fair-squares.nl
Apache License 2.0
16 stars 8 forks source link

Payment pallet tests #240

Closed ndkazu closed 1 year ago

ndkazu commented 1 year ago

Adding tests to the payment pallet. One more round of tests is necessary.

codecov-commenter commented 1 year ago

Codecov Report

Merging #240 (da729c5) into main (2f4f630) will increase coverage by 1.40%. The diff coverage is 99.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main     #240      +/-   ##
==========================================
+ Coverage   80.99%   82.39%   +1.40%     
==========================================
  Files          69       69              
  Lines        6550     6851     +301     
==========================================
+ Hits         5305     5645     +340     
+ Misses       1245     1206      -39     
Impacted Files Coverage Δ
pallets/payment/src/tests.rs 99.36% <99.00%> (-0.64%) :arrow_down:
pallets/payment/src/lib.rs 75.59% <0.00%> (+33.07%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

ndkazu commented 1 year ago

@ilhanu , this is tested in the integration test, in the pallet_tenancy.