regen.sh - Fix stale function call in sql/GenerateData.php
authorTim Otten <totten@civicrm.org>
Thu, 20 Jul 2017 05:33:47 +0000 (22:33 -0700)
committerTim Otten <totten@civicrm.org>
Thu, 20 Jul 2017 05:33:47 +0000 (22:33 -0700)
commit5056005cfbddf67243ec11c39741e62f31c8e574
tree75ccf92a196a3aec61eadb0ab10273d0da6ca091
parent79ce1b551d7f2cb767c8fb94523500b45fec4dd1
regen.sh - Fix stale function call in sql/GenerateData.php

In [#10463](https://github.com/civicrm/civicrm-core/pull/10463), the
function signature of `getInstrumentFinancialAccount()` changed slightly -- in that
the parameter became mandatory.

Grepping for other calls to `getInstrumentFinancialAccount()` shows that one of the unit-tests
works with example input `4`, so this does the same.

Before
======

Running "regen.sh" fails -- because `getInstrumentFinancialAccount` is called without a parameter.

After
=====

Running "regen.sh" completes -- because `getInstrumentFinancialAccount` is called with `4`.

Acceptance Prompts
==================

 * The example data produced by `regen.sh` should contain suitable/similar values for financial records.
 * Determine whether `4` is a suitable value.
sql/GenerateData.php