Fix error of incorrect argument passed to gnc_commodity_new.

This commit is contained in:
Alex Aycinena 2017-07-10 11:38:42 -07:00
parent eb55b5f98c
commit fb609ff028

View File

@ -65,8 +65,8 @@ test_book_use_book_currency( Fixture *fixture, gconstpointer pData )
const gchar *cur;
const gchar *pol;
Account *acct, *acc;
gnc_commodity *com = gnc_commodity_new(fixture-> book, NULL, NULL, "USD",
NULL, NULL);
gnc_commodity *com = gnc_commodity_new(fixture-> book, "US Dollar",
"CURRENCY", "USD", "0", 100);
g_test_message( "Testing with no currency accounting method selected" );
cur = gnc_book_get_book_currency_name( fixture-> book );