File tree Expand file tree Collapse file tree 3 files changed +19
-3
lines changed
lib/travis/api/v3/queries
spec/v3/services/v2_subscriptions Expand file tree Collapse file tree 3 files changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ def create(user_id)
18
18
:organization_id => params['organization_id'],
19
19
:billing_info => billing_info_params,
20
20
:credit_card_info => credit_card_info_params
21
- )
21
+ )
22
22
end
23
23
end
24
24
end
Original file line number Diff line number Diff line change 105
105
'@representation' => 'minimal',
106
106
'id' => organization.id,
107
107
'vcs_type' => organization.vcs_type,
108
- 'login' => 'travis'
108
+ 'login' => 'travis',
109
+ 'allowance' => {
110
+ "@type" => "allowance",
111
+ "@representation" => "minimal",
112
+ "subscription_type" => 1,
113
+ "public_repos" => true,
114
+ "private_repos" => false,
115
+ "concurrency_limit" => 1
116
+ }
109
117
},
110
118
'billing_info' => {
111
119
'@type' => 'v2_billing_info',
Original file line number Diff line number Diff line change 186
186
'@href' => "/v3/org/#{organization.id}",
187
187
'id' => organization.id,
188
188
'vcs_type' => organization.vcs_type,
189
- 'login' => 'travis'
189
+ 'login' => 'travis',
190
+ 'allowance' => {
191
+ "@type" => "allowance",
192
+ "@representation" => "minimal",
193
+ "subscription_type" => 1,
194
+ "public_repos" => true,
195
+ "private_repos" => false,
196
+ "concurrency_limit" => 1
197
+ }
190
198
},
191
199
'payment_intent' => nil,
192
200
})
You can’t perform that action at this time.
0 commit comments