aboutsummaryrefslogtreecommitdiffstats
path: root/tests/msc_vlr/msc_vlr_test_rest.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/msc_vlr/msc_vlr_test_rest.c')
-rw-r--r--tests/msc_vlr/msc_vlr_test_rest.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/msc_vlr/msc_vlr_test_rest.c b/tests/msc_vlr/msc_vlr_test_rest.c
index 247e7ae1d..501e3d33a 100644
--- a/tests/msc_vlr/msc_vlr_test_rest.c
+++ b/tests/msc_vlr/msc_vlr_test_rest.c
@@ -31,12 +31,12 @@ static void test_early_stage()
EXPECT_ACCEPTED(false);
btw("freshly allocated conn");
- g_conn = msc_subscr_conn_alloc(net, RAN_GERAN_A, 123);
+ g_conn = ran_conn_alloc(net, RAN_GERAN_A, 123);
EXPECT_ACCEPTED(false);
btw("conn_fsm present, in state NEW");
OSMO_ASSERT(g_conn->fi);
- OSMO_ASSERT(g_conn->fi->state == SUBSCR_CONN_S_NEW);
+ OSMO_ASSERT(g_conn->fi->state == RAN_CONN_S_NEW);
EXPECT_ACCEPTED(false);
thwart_rx_non_initial_requests();
@@ -47,13 +47,13 @@ static void test_early_stage()
OSMO_ASSERT(g_conn->vsub);
/* mark as silent call so it sticks around */
g_conn->silent_call = 1;
- osmo_fsm_inst_state_chg(g_conn->fi, SUBSCR_CONN_S_ACCEPTED, 0, 0);
+ osmo_fsm_inst_state_chg(g_conn->fi, RAN_CONN_S_ACCEPTED, 0, 0);
EXPECT_CONN_COUNT(1);
EXPECT_ACCEPTED(true);
btw("CLOSE event marks conn_fsm as released and frees the conn");
expect_bssap_clear();
- osmo_fsm_inst_dispatch(g_conn->fi, SUBSCR_CONN_E_CN_CLOSE, NULL);
+ osmo_fsm_inst_dispatch(g_conn->fi, RAN_CONN_E_CN_CLOSE, NULL);
VERBOSE_ASSERT(bssap_clear_sent, == true, "%d");
bss_sends_clear_complete();
EXPECT_CONN_COUNT(0);