We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 132fd17 commit 520bce0Copy full SHA for 520bce0
contract/src/score/tests.rs
@@ -2,6 +2,7 @@
2
3
use fake::Fake;
4
use near_sdk::{
5
+ json_types::I64,
6
store::LookupMap,
7
test_utils::test_env::{alice, bob},
8
NearToken,
@@ -81,6 +82,8 @@ fn same_interest_in_score_jar_as_in_const_jar() {
81
82
.jar(SCORE_JAR, JarField::Timezone(Timezone::hour_shift(3)))
83
.build();
84
85
+ assert_eq!(ctx.contract().get_timezone(alice()), Some(I64(10800000)));
86
+
87
// Difference of 1 is okay because the missing yoctosweat is stored in claim remainder
88
// and will eventually be added to total claimed balance
89
fn compare_interest(ctx: &Context) {
0 commit comments