@@ -834,6 +834,7 @@ mod test {
834
834
assert_eq ! ( body. len( ) , 1 ) ;
835
835
let test_record = body. first ( ) . unwrap ( ) ;
836
836
assert_eq ! ( test_record. record_id, "Test Record" . to_string( ) ) ;
837
+ assert_eq ! ( test_record. schema, "Test Grid Schema" . to_string( ) ) ;
837
838
assert_eq ! ( test_record. owner, KEY1 . to_string( ) ) ;
838
839
assert_eq ! ( test_record. custodian, KEY2 . to_string( ) ) ;
839
840
assert_eq ! ( test_record. properties. len( ) , 2 ) ;
@@ -925,6 +926,7 @@ mod test {
925
926
assert_eq ! ( body. len( ) , 1 ) ;
926
927
let test_record = body. first ( ) . unwrap ( ) ;
927
928
assert_eq ! ( test_record. record_id, "Test Record" . to_string( ) ) ;
929
+ assert_eq ! ( test_record. schema, "Test Grid Schema" . to_string( ) ) ;
928
930
assert_eq ! ( test_record. r#final, true ) ;
929
931
}
930
932
@@ -994,6 +996,7 @@ mod test {
994
996
let test_record: RecordSlice =
995
997
serde_json:: from_slice ( & * response. body ( ) . wait ( ) . unwrap ( ) ) . unwrap ( ) ;
996
998
assert_eq ! ( test_record. record_id, "Test Record" . to_string( ) ) ;
999
+ assert_eq ! ( test_record. schema, "Test Grid Schema" . to_string( ) ) ;
997
1000
assert_eq ! ( test_record. owner, KEY1 . to_string( ) ) ;
998
1001
assert_eq ! ( test_record. custodian, KEY2 . to_string( ) ) ;
999
1002
@@ -1096,6 +1099,7 @@ mod test {
1096
1099
serde_json:: from_slice ( & * response. body ( ) . wait ( ) . unwrap ( ) ) . unwrap ( ) ;
1097
1100
1098
1101
assert_eq ! ( test_record. record_id, "Test Record" . to_string( ) ) ;
1102
+ assert_eq ! ( test_record. schema, "Test Grid Schema" . to_string( ) ) ;
1099
1103
assert_eq ! ( test_record. owner, KEY2 . to_string( ) ) ;
1100
1104
assert_eq ! ( test_record. custodian, KEY1 . to_string( ) ) ;
1101
1105
0 commit comments