tests: Bluetooth: Update audio mocs for bt_iso_chan_get_tx_sync

bt_iso_chan_get_tx_sync was missing a mock now that it is
being used by bap_stream.c

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
Emil Gydesen 2023-07-13 20:09:26 +02:00 committed by Fabio Baltieri
commit 2390f974af

View file

@ -13,12 +13,16 @@
/* List of fakes used by this unit tester */
#define FFF_FAKES_LIST(FAKE) \
FAKE(bt_iso_chan_send) \
FAKE(bt_iso_chan_get_tx_sync)
static struct bt_iso_server *iso_server;
DEFINE_FAKE_VALUE_FUNC(int, bt_iso_chan_send, struct bt_iso_chan *, struct net_buf *, uint16_t,
uint32_t);
DEFINE_FAKE_VALUE_FUNC(int, bt_iso_chan_get_tx_sync, const struct bt_iso_chan *,
struct bt_iso_tx_info *);
int bt_iso_server_register(struct bt_iso_server *server)
{
zassert_not_null(server, "server is NULL");