@@ -31,7 +31,7 @@ def test_method_create_with_all_params(self, client: Finch) -> None:
31
31
"earnings" : [
32
32
{
33
33
"amount" : 0 ,
34
- "attributes" : {"metadata" : {"metadata" : {"foo" : "bar" }}},
34
+ "attributes" : {"metadata" : {"metadata" : {"foo" : {} }}},
35
35
"currency" : "currency" ,
36
36
"hours" : 0 ,
37
37
"name" : "name" ,
@@ -40,18 +40,18 @@ def test_method_create_with_all_params(self, client: Finch) -> None:
40
40
],
41
41
"employee_deductions" : [
42
42
{
43
- "amount" : 0 ,
44
- "attributes" : {"metadata" : {"metadata" : {"foo" : "bar" }}},
45
- "currency" : "currency " ,
46
- "name" : "name " ,
43
+ "amount" : 2000 ,
44
+ "attributes" : {"metadata" : {"metadata" : {"foo" : {} }}},
45
+ "currency" : "usd " ,
46
+ "name" : "401k test " ,
47
47
"pre_tax" : True ,
48
48
"type" : "401k" ,
49
49
}
50
50
],
51
51
"employer_contributions" : [
52
52
{
53
53
"amount" : 0 ,
54
- "attributes" : {"metadata" : {"metadata" : {"foo" : "bar" }}},
54
+ "attributes" : {"metadata" : {"metadata" : {"foo" : {} }}},
55
55
"currency" : "currency" ,
56
56
"name" : "name" ,
57
57
"type" : "401k" ,
@@ -61,7 +61,7 @@ def test_method_create_with_all_params(self, client: Finch) -> None:
61
61
"amount" : 0 ,
62
62
"currency" : "currency" ,
63
63
},
64
- "individual_id" : "individual_id " ,
64
+ "individual_id" : "b2338cfb-472f-4f72-9faa-e028c083144a " ,
65
65
"net_pay" : {
66
66
"amount" : 0 ,
67
67
"currency" : "currency" ,
@@ -70,7 +70,7 @@ def test_method_create_with_all_params(self, client: Finch) -> None:
70
70
"taxes" : [
71
71
{
72
72
"amount" : 0 ,
73
- "attributes" : {"metadata" : {"metadata" : {"foo" : "bar" }}},
73
+ "attributes" : {"metadata" : {"metadata" : {"foo" : {} }}},
74
74
"currency" : "currency" ,
75
75
"employer" : True ,
76
76
"name" : "name" ,
@@ -123,7 +123,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncFinch) ->
123
123
"earnings" : [
124
124
{
125
125
"amount" : 0 ,
126
- "attributes" : {"metadata" : {"metadata" : {"foo" : "bar" }}},
126
+ "attributes" : {"metadata" : {"metadata" : {"foo" : {} }}},
127
127
"currency" : "currency" ,
128
128
"hours" : 0 ,
129
129
"name" : "name" ,
@@ -132,18 +132,18 @@ async def test_method_create_with_all_params(self, async_client: AsyncFinch) ->
132
132
],
133
133
"employee_deductions" : [
134
134
{
135
- "amount" : 0 ,
136
- "attributes" : {"metadata" : {"metadata" : {"foo" : "bar" }}},
137
- "currency" : "currency " ,
138
- "name" : "name " ,
135
+ "amount" : 2000 ,
136
+ "attributes" : {"metadata" : {"metadata" : {"foo" : {} }}},
137
+ "currency" : "usd " ,
138
+ "name" : "401k test " ,
139
139
"pre_tax" : True ,
140
140
"type" : "401k" ,
141
141
}
142
142
],
143
143
"employer_contributions" : [
144
144
{
145
145
"amount" : 0 ,
146
- "attributes" : {"metadata" : {"metadata" : {"foo" : "bar" }}},
146
+ "attributes" : {"metadata" : {"metadata" : {"foo" : {} }}},
147
147
"currency" : "currency" ,
148
148
"name" : "name" ,
149
149
"type" : "401k" ,
@@ -153,7 +153,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncFinch) ->
153
153
"amount" : 0 ,
154
154
"currency" : "currency" ,
155
155
},
156
- "individual_id" : "individual_id " ,
156
+ "individual_id" : "b2338cfb-472f-4f72-9faa-e028c083144a " ,
157
157
"net_pay" : {
158
158
"amount" : 0 ,
159
159
"currency" : "currency" ,
@@ -162,7 +162,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncFinch) ->
162
162
"taxes" : [
163
163
{
164
164
"amount" : 0 ,
165
- "attributes" : {"metadata" : {"metadata" : {"foo" : "bar" }}},
165
+ "attributes" : {"metadata" : {"metadata" : {"foo" : {} }}},
166
166
"currency" : "currency" ,
167
167
"employer" : True ,
168
168
"name" : "name" ,
0 commit comments