@@ -122,28 +122,24 @@ jms_temporary_queue(Config) ->
122122
123123% % Send different message types from JMS client to JMS client.
124124message_types_jms_to_jms (Config ) ->
125- TestName = atom_to_binary (? FUNCTION_NAME ),
126- ok = run_jms_test (TestName , [], Config ).
125+ ok = run_jms_test (? FUNCTION_NAME , Config ).
127126
128127% % Send different message types from JMS client to Erlang AMQP 1.0 client.
129128message_types_jms_to_amqp (Config ) ->
130- TestName = atom_to_binary (? FUNCTION_NAME ),
131- ok = run_jms_test (TestName , [], Config ).
129+ ok = run_jms_test (? FUNCTION_NAME , Config ).
132130
133131temporary_queue_rpc (Config ) ->
134- TestName = atom_to_binary (? FUNCTION_NAME ),
135- ok = run_jms_test (TestName , [], Config ).
132+ ok = run_jms_test (? FUNCTION_NAME , Config ).
136133
137134temporary_queue_delete (Config ) ->
138- TestName = atom_to_binary (? FUNCTION_NAME ),
139- ok = run_jms_test (TestName , [], Config ).
135+ ok = run_jms_test (? FUNCTION_NAME , Config ).
140136
141137% % -------------------------------------------------------------------
142138% % Helpers
143139% % -------------------------------------------------------------------
144140
145- run_jms_test (TestName , JavaProps , Config ) ->
146- run (TestName , [{" -Dtest=JmsTest#~ts " , [TestName ]} | JavaProps ], Config ).
141+ run_jms_test (TestName , Config ) ->
142+ run (TestName , [{" -Dtest=JmsTest#~ts " , [TestName ]}], Config ).
147143
148144run (TestName , JavaProps , Config ) ->
149145 TestProjectDir = ? config (data_dir , Config ),
0 commit comments