Skip to content

Commit 6a593f9

Browse files
kbandesKenneth Bandes
andauthored
fix: fix case for expected field names in required fields test. (#1107)
Co-authored-by: Kenneth Bandes <kbandes@google.com>
1 parent 4e5fe2d commit 6a593f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gapic/templates/tests/unit/gapic/%name_%version/%sub/test_%service.py.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1323,7 +1323,7 @@ def test_{{ method_name }}_rest_required_fields(request_type={{ method.input.ide
13231323
expected_params = [
13241324
{% for req_field in method.input.required_fields if req_field.is_primitive %}
13251325
(
1326-
"{{ req_field.name }}",
1326+
"{{ req_field.name | camel_case }}",
13271327
{% if req_field.field_pb.default_value is string %}
13281328
"{{ req_field.field_pb.default_value }}",
13291329
{% else %}

0 commit comments

Comments
 (0)