ztest API Migration: bluetooth/init

Migrate the unit tests at `bluetooth/init` to use the new ztest API.

Signed-off-by: Tristan Honscheid <honscheid@google.com>
diff --git a/tests/bluetooth/init/prj.conf b/tests/bluetooth/init/prj.conf
index 4467fc0..481ee77 100644
--- a/tests/bluetooth/init/prj.conf
+++ b/tests/bluetooth/init/prj.conf
@@ -1,4 +1,4 @@
 CONFIG_BT=y
 CONFIG_BT_DEBUG_LOG=y
 CONFIG_ZTEST=y
-
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_0.conf b/tests/bluetooth/init/prj_0.conf
index 6cf1e6d..efb286c 100644
--- a/tests/bluetooth/init/prj_0.conf
+++ b/tests/bluetooth/init/prj_0.conf
@@ -1,3 +1,3 @@
 CONFIG_BT=y
 CONFIG_ZTEST=y
-
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_1.conf b/tests/bluetooth/init/prj_1.conf
index 009be00..354c519 100644
--- a/tests/bluetooth/init/prj_1.conf
+++ b/tests/bluetooth/init/prj_1.conf
@@ -1,4 +1,4 @@
 CONFIG_BT=y
 CONFIG_BT_PERIPHERAL=y
 CONFIG_ZTEST=y
-
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_10.conf b/tests/bluetooth/init/prj_10.conf
index c3024a1..c2f94c2 100644
--- a/tests/bluetooth/init/prj_10.conf
+++ b/tests/bluetooth/init/prj_10.conf
@@ -7,4 +7,4 @@
 CONFIG_BT_TINYCRYPT_ECC=y
 CONFIG_BT_USE_DEBUG_KEYS=y
 CONFIG_ZTEST=y
-
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_11.conf b/tests/bluetooth/init/prj_11.conf
index 67a3e1e..3904640 100644
--- a/tests/bluetooth/init/prj_11.conf
+++ b/tests/bluetooth/init/prj_11.conf
@@ -9,4 +9,4 @@
 CONFIG_BT_L2CAP_DYNAMIC_CHANNEL=y
 CONFIG_BT_GATT_CLIENT=y
 CONFIG_ZTEST=y
-
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_12.conf b/tests/bluetooth/init/prj_12.conf
index d267932..45ad916 100644
--- a/tests/bluetooth/init/prj_12.conf
+++ b/tests/bluetooth/init/prj_12.conf
@@ -8,4 +8,4 @@
 CONFIG_BT_L2CAP_DYNAMIC_CHANNEL=y
 CONFIG_BT_GATT_CLIENT=y
 CONFIG_ZTEST=y
-
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_13.conf b/tests/bluetooth/init/prj_13.conf
index ea893a3..c6b6079 100644
--- a/tests/bluetooth/init/prj_13.conf
+++ b/tests/bluetooth/init/prj_13.conf
@@ -8,4 +8,4 @@
 CONFIG_BT_L2CAP_DYNAMIC_CHANNEL=y
 CONFIG_BT_GATT_CLIENT=y
 CONFIG_ZTEST=y
-
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_14.conf b/tests/bluetooth/init/prj_14.conf
index 6886727..ecd5f2b 100644
--- a/tests/bluetooth/init/prj_14.conf
+++ b/tests/bluetooth/init/prj_14.conf
@@ -5,4 +5,4 @@
 CONFIG_BT_SIGNING=y
 CONFIG_BT_TINYCRYPT_ECC=y
 CONFIG_ZTEST=y
-
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_15.conf b/tests/bluetooth/init/prj_15.conf
index d4b2a0d..466cc3f 100644
--- a/tests/bluetooth/init/prj_15.conf
+++ b/tests/bluetooth/init/prj_15.conf
@@ -5,4 +5,4 @@
 CONFIG_BT_SMP_SC_ONLY=y
 CONFIG_BT_TINYCRYPT_ECC=y
 CONFIG_ZTEST=y
-
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_16.conf b/tests/bluetooth/init/prj_16.conf
index d68f688..ba1a467 100644
--- a/tests/bluetooth/init/prj_16.conf
+++ b/tests/bluetooth/init/prj_16.conf
@@ -5,4 +5,4 @@
 CONFIG_BT_L2CAP_DYNAMIC_CHANNEL=y
 CONFIG_BT_GATT_CLIENT=y
 CONFIG_ZTEST=y
-
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_17.conf b/tests/bluetooth/init/prj_17.conf
index b4f33a6..dd60510 100644
--- a/tests/bluetooth/init/prj_17.conf
+++ b/tests/bluetooth/init/prj_17.conf
@@ -20,4 +20,4 @@
 CONFIG_BT_DEBUG_GATT=y
 CONFIG_BT_BREDR=y
 CONFIG_ZTEST=y
-
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_18.conf b/tests/bluetooth/init/prj_18.conf
index 474265c..3c92286 100644
--- a/tests/bluetooth/init/prj_18.conf
+++ b/tests/bluetooth/init/prj_18.conf
@@ -2,4 +2,4 @@
 CONFIG_BT_PERIPHERAL=y
 CONFIG_BT_BREDR=y
 CONFIG_ZTEST=y
-
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_19.conf b/tests/bluetooth/init/prj_19.conf
index deaf3a3..55306b3 100644
--- a/tests/bluetooth/init/prj_19.conf
+++ b/tests/bluetooth/init/prj_19.conf
@@ -2,4 +2,4 @@
 CONFIG_BT_CENTRAL=y
 CONFIG_BT_BREDR=y
 CONFIG_ZTEST=y
-
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_2.conf b/tests/bluetooth/init/prj_2.conf
index 3802a51..349f9bf 100644
--- a/tests/bluetooth/init/prj_2.conf
+++ b/tests/bluetooth/init/prj_2.conf
@@ -1,4 +1,4 @@
 CONFIG_BT=y
 CONFIG_BT_CENTRAL=y
 CONFIG_ZTEST=y
-
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_20.conf b/tests/bluetooth/init/prj_20.conf
index 73f7568..95d2cd1 100644
--- a/tests/bluetooth/init/prj_20.conf
+++ b/tests/bluetooth/init/prj_20.conf
@@ -27,3 +27,4 @@
 CONFIG_BT_HFP_HF=y
 CONFIG_BT_DEBUG_HFP_HF=y
 CONFIG_ZTEST=y
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_21.conf b/tests/bluetooth/init/prj_21.conf
index 6d0649a..d491786 100644
--- a/tests/bluetooth/init/prj_21.conf
+++ b/tests/bluetooth/init/prj_21.conf
@@ -20,3 +20,4 @@
 CONFIG_BT_DEBUG_GATT=y
 CONFIG_BT_BREDR=y
 CONFIG_ZTEST=y
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_22.conf b/tests/bluetooth/init/prj_22.conf
index 332779c..173ad39 100644
--- a/tests/bluetooth/init/prj_22.conf
+++ b/tests/bluetooth/init/prj_22.conf
@@ -3,4 +3,4 @@
 CONFIG_BT_PERIPHERAL=y
 CONFIG_BT_SMP=y
 CONFIG_ZTEST=y
-
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_3.conf b/tests/bluetooth/init/prj_3.conf
index d1c6005..33e4cac 100644
--- a/tests/bluetooth/init/prj_3.conf
+++ b/tests/bluetooth/init/prj_3.conf
@@ -2,4 +2,4 @@
 CONFIG_BT_PERIPHERAL=y
 CONFIG_BT_CENTRAL=y
 CONFIG_ZTEST=y
-
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_4.conf b/tests/bluetooth/init/prj_4.conf
index 7f197e3..334beab 100644
--- a/tests/bluetooth/init/prj_4.conf
+++ b/tests/bluetooth/init/prj_4.conf
@@ -2,4 +2,4 @@
 CONFIG_BT_PERIPHERAL=y
 CONFIG_BT_SMP=y
 CONFIG_ZTEST=y
-
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_5.conf b/tests/bluetooth/init/prj_5.conf
index b621316..dff5403 100644
--- a/tests/bluetooth/init/prj_5.conf
+++ b/tests/bluetooth/init/prj_5.conf
@@ -2,4 +2,4 @@
 CONFIG_BT_CENTRAL=y
 CONFIG_BT_SMP=y
 CONFIG_ZTEST=y
-
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_6.conf b/tests/bluetooth/init/prj_6.conf
index 30e5049..cece23f 100644
--- a/tests/bluetooth/init/prj_6.conf
+++ b/tests/bluetooth/init/prj_6.conf
@@ -3,4 +3,4 @@
 CONFIG_BT_CENTRAL=y
 CONFIG_BT_SMP=y
 CONFIG_ZTEST=y
-
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_7.conf b/tests/bluetooth/init/prj_7.conf
index ba8453c..a5a4afd 100644
--- a/tests/bluetooth/init/prj_7.conf
+++ b/tests/bluetooth/init/prj_7.conf
@@ -4,4 +4,4 @@
 CONFIG_BT_SMP=y
 CONFIG_BT_SIGNING=y
 CONFIG_ZTEST=y
-
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_8.conf b/tests/bluetooth/init/prj_8.conf
index 697a34d..e596936 100644
--- a/tests/bluetooth/init/prj_8.conf
+++ b/tests/bluetooth/init/prj_8.conf
@@ -5,4 +5,4 @@
 CONFIG_BT_SIGNING=y
 CONFIG_BT_SMP_SC_ONLY=y
 CONFIG_ZTEST=y
-
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_9.conf b/tests/bluetooth/init/prj_9.conf
index 039d017..1b55964 100644
--- a/tests/bluetooth/init/prj_9.conf
+++ b/tests/bluetooth/init/prj_9.conf
@@ -6,4 +6,4 @@
 CONFIG_BT_SMP_SC_ONLY=y
 CONFIG_BT_TINYCRYPT_ECC=y
 CONFIG_ZTEST=y
-
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_ctlr.conf b/tests/bluetooth/init/prj_ctlr.conf
index d64a64c..dc31bd7 100644
--- a/tests/bluetooth/init/prj_ctlr.conf
+++ b/tests/bluetooth/init/prj_ctlr.conf
@@ -14,3 +14,4 @@
 CONFIG_FLASH=y
 CONFIG_SOC_FLASH_NRF_RADIO_SYNC_TICKER=y
 CONFIG_ZTEST=y
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_ctlr_4_0.conf b/tests/bluetooth/init/prj_ctlr_4_0.conf
index 3141484..ff3917b 100644
--- a/tests/bluetooth/init/prj_ctlr_4_0.conf
+++ b/tests/bluetooth/init/prj_ctlr_4_0.conf
@@ -38,3 +38,4 @@
 CONFIG_FLASH=y
 CONFIG_SOC_FLASH_NRF_RADIO_SYNC_TICKER=y
 CONFIG_ZTEST=y
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_ctlr_4_0_dbg.conf b/tests/bluetooth/init/prj_ctlr_4_0_dbg.conf
index 549abd0..4c101cc 100644
--- a/tests/bluetooth/init/prj_ctlr_4_0_dbg.conf
+++ b/tests/bluetooth/init/prj_ctlr_4_0_dbg.conf
@@ -40,3 +40,4 @@
 CONFIG_FLASH=y
 CONFIG_SOC_FLASH_NRF_RADIO_SYNC_TICKER=y
 CONFIG_ZTEST=y
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_ctlr_broadcaster.conf b/tests/bluetooth/init/prj_ctlr_broadcaster.conf
index d062716..8bc2c0c 100644
--- a/tests/bluetooth/init/prj_ctlr_broadcaster.conf
+++ b/tests/bluetooth/init/prj_ctlr_broadcaster.conf
@@ -8,3 +8,4 @@
 CONFIG_BT_CTLR_ADV_EXT=n
 CONFIG_BT_LL_SW_SPLIT=y
 CONFIG_ZTEST=y
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_ctlr_broadcaster_ext.conf b/tests/bluetooth/init/prj_ctlr_broadcaster_ext.conf
index 389e622..5edaf81 100644
--- a/tests/bluetooth/init/prj_ctlr_broadcaster_ext.conf
+++ b/tests/bluetooth/init/prj_ctlr_broadcaster_ext.conf
@@ -8,3 +8,4 @@
 CONFIG_BT_CTLR_ADV_EXT=y
 CONFIG_BT_LL_SW_SPLIT=y
 CONFIG_ZTEST=y
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_ctlr_broadcaster_iso.conf b/tests/bluetooth/init/prj_ctlr_broadcaster_iso.conf
index cd6f57d..0f6faaf 100644
--- a/tests/bluetooth/init/prj_ctlr_broadcaster_iso.conf
+++ b/tests/bluetooth/init/prj_ctlr_broadcaster_iso.conf
@@ -9,3 +9,4 @@
 CONFIG_BT_CTLR_ADV_EXT=y
 CONFIG_BT_CTLR_ADV_ISO=y
 CONFIG_ZTEST=y
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_ctlr_central.conf b/tests/bluetooth/init/prj_ctlr_central.conf
index f00fe35..b2b5b4d 100644
--- a/tests/bluetooth/init/prj_ctlr_central.conf
+++ b/tests/bluetooth/init/prj_ctlr_central.conf
@@ -8,3 +8,4 @@
 CONFIG_BT_CTLR_ADV_EXT=n
 CONFIG_BT_LL_SW_SPLIT=y
 CONFIG_ZTEST=y
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_ctlr_central_ext.conf b/tests/bluetooth/init/prj_ctlr_central_ext.conf
index 4508d62..7ceaa63 100644
--- a/tests/bluetooth/init/prj_ctlr_central_ext.conf
+++ b/tests/bluetooth/init/prj_ctlr_central_ext.conf
@@ -8,3 +8,4 @@
 CONFIG_BT_CTLR_ADV_EXT=y
 CONFIG_BT_LL_SW_SPLIT=y
 CONFIG_ZTEST=y
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_ctlr_central_ext_priv.conf b/tests/bluetooth/init/prj_ctlr_central_ext_priv.conf
index 59f8a46..c4523b0 100644
--- a/tests/bluetooth/init/prj_ctlr_central_ext_priv.conf
+++ b/tests/bluetooth/init/prj_ctlr_central_ext_priv.conf
@@ -10,3 +10,4 @@
 CONFIG_BT_CTLR_ADV_EXT=y
 CONFIG_BT_LL_SW_SPLIT=y
 CONFIG_ZTEST=y
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_ctlr_central_iso.conf b/tests/bluetooth/init/prj_ctlr_central_iso.conf
index ad23e1c..96efca2 100644
--- a/tests/bluetooth/init/prj_ctlr_central_iso.conf
+++ b/tests/bluetooth/init/prj_ctlr_central_iso.conf
@@ -5,3 +5,4 @@
 CONFIG_BT_ISO_CENTRAL=y
 CONFIG_BT_CTLR_CENTRAL_ISO=y
 CONFIG_ZTEST=y
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_ctlr_central_priv.conf b/tests/bluetooth/init/prj_ctlr_central_priv.conf
index 3bf4650..9a6770f 100644
--- a/tests/bluetooth/init/prj_ctlr_central_priv.conf
+++ b/tests/bluetooth/init/prj_ctlr_central_priv.conf
@@ -10,3 +10,4 @@
 CONFIG_BT_CTLR_ADV_EXT=n
 CONFIG_BT_LL_SW_SPLIT=y
 CONFIG_ZTEST=y
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_ctlr_dbg.conf b/tests/bluetooth/init/prj_ctlr_dbg.conf
index 16c2570..d9ecb2d 100644
--- a/tests/bluetooth/init/prj_ctlr_dbg.conf
+++ b/tests/bluetooth/init/prj_ctlr_dbg.conf
@@ -59,3 +59,4 @@
 CONFIG_FLASH=y
 CONFIG_SOC_FLASH_NRF_RADIO_SYNC_TICKER=n
 CONFIG_ZTEST=y
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_ctlr_observer.conf b/tests/bluetooth/init/prj_ctlr_observer.conf
index 96d1d2d..e785cda 100644
--- a/tests/bluetooth/init/prj_ctlr_observer.conf
+++ b/tests/bluetooth/init/prj_ctlr_observer.conf
@@ -8,3 +8,4 @@
 CONFIG_BT_CTLR_ADV_EXT=n
 CONFIG_BT_LL_SW_SPLIT=y
 CONFIG_ZTEST=y
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_ctlr_observer_ext.conf b/tests/bluetooth/init/prj_ctlr_observer_ext.conf
index 4d540d5..ae74425 100644
--- a/tests/bluetooth/init/prj_ctlr_observer_ext.conf
+++ b/tests/bluetooth/init/prj_ctlr_observer_ext.conf
@@ -8,3 +8,4 @@
 CONFIG_BT_CTLR_ADV_EXT=y
 CONFIG_BT_LL_SW_SPLIT=y
 CONFIG_ZTEST=y
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_ctlr_per_adv.conf b/tests/bluetooth/init/prj_ctlr_per_adv.conf
index c070838..4897e55 100644
--- a/tests/bluetooth/init/prj_ctlr_per_adv.conf
+++ b/tests/bluetooth/init/prj_ctlr_per_adv.conf
@@ -11,3 +11,4 @@
 CONFIG_BT_CTLR_ADV_PERIODIC_ADI_SUPPORT=y
 CONFIG_BT_LL_SW_SPLIT=y
 CONFIG_ZTEST=y
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_ctlr_per_adv_no_adi.conf b/tests/bluetooth/init/prj_ctlr_per_adv_no_adi.conf
index e2bd0cc..3701e09 100644
--- a/tests/bluetooth/init/prj_ctlr_per_adv_no_adi.conf
+++ b/tests/bluetooth/init/prj_ctlr_per_adv_no_adi.conf
@@ -11,3 +11,4 @@
 CONFIG_BT_CTLR_ADV_PERIODIC_ADI_SUPPORT=n
 CONFIG_BT_LL_SW_SPLIT=y
 CONFIG_ZTEST=y
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_ctlr_per_sync.conf b/tests/bluetooth/init/prj_ctlr_per_sync.conf
index 60142f5..0c3d99e 100644
--- a/tests/bluetooth/init/prj_ctlr_per_sync.conf
+++ b/tests/bluetooth/init/prj_ctlr_per_sync.conf
@@ -12,3 +12,4 @@
 CONFIG_BT_CTLR_SYNC_PERIODIC_ADI_SUPPORT=y
 CONFIG_BT_LL_SW_SPLIT=y
 CONFIG_ZTEST=y
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_ctlr_per_sync_no_adi.conf b/tests/bluetooth/init/prj_ctlr_per_sync_no_adi.conf
index c2e9ce0..4fa71725 100644
--- a/tests/bluetooth/init/prj_ctlr_per_sync_no_adi.conf
+++ b/tests/bluetooth/init/prj_ctlr_per_sync_no_adi.conf
@@ -12,3 +12,4 @@
 CONFIG_BT_CTLR_SYNC_PERIODIC_ADI_SUPPORT=n
 CONFIG_BT_LL_SW_SPLIT=y
 CONFIG_ZTEST=y
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_ctlr_per_sync_no_filter.conf b/tests/bluetooth/init/prj_ctlr_per_sync_no_filter.conf
index 62b952a..1fe748a 100644
--- a/tests/bluetooth/init/prj_ctlr_per_sync_no_filter.conf
+++ b/tests/bluetooth/init/prj_ctlr_per_sync_no_filter.conf
@@ -12,3 +12,4 @@
 CONFIG_BT_CTLR_SYNC_PERIODIC_ADI_SUPPORT=n
 CONFIG_BT_LL_SW_SPLIT=y
 CONFIG_ZTEST=y
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_ctlr_peripheral.conf b/tests/bluetooth/init/prj_ctlr_peripheral.conf
index 3a41b00..60f8989 100644
--- a/tests/bluetooth/init/prj_ctlr_peripheral.conf
+++ b/tests/bluetooth/init/prj_ctlr_peripheral.conf
@@ -8,3 +8,4 @@
 CONFIG_BT_CTLR_ADV_EXT=n
 CONFIG_BT_LL_SW_SPLIT=y
 CONFIG_ZTEST=y
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_ctlr_peripheral_ext.conf b/tests/bluetooth/init/prj_ctlr_peripheral_ext.conf
index 9f1b691..f2e3218 100644
--- a/tests/bluetooth/init/prj_ctlr_peripheral_ext.conf
+++ b/tests/bluetooth/init/prj_ctlr_peripheral_ext.conf
@@ -8,3 +8,4 @@
 CONFIG_BT_CTLR_ADV_EXT=y
 CONFIG_BT_LL_SW_SPLIT=y
 CONFIG_ZTEST=y
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_ctlr_peripheral_ext_priv.conf b/tests/bluetooth/init/prj_ctlr_peripheral_ext_priv.conf
index e0c3f94..e7e5ac7 100644
--- a/tests/bluetooth/init/prj_ctlr_peripheral_ext_priv.conf
+++ b/tests/bluetooth/init/prj_ctlr_peripheral_ext_priv.conf
@@ -10,3 +10,4 @@
 CONFIG_BT_CTLR_ADV_EXT=y
 CONFIG_BT_LL_SW_SPLIT=y
 CONFIG_ZTEST=y
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_ctlr_peripheral_iso.conf b/tests/bluetooth/init/prj_ctlr_peripheral_iso.conf
index 524a9d5..09b5755 100644
--- a/tests/bluetooth/init/prj_ctlr_peripheral_iso.conf
+++ b/tests/bluetooth/init/prj_ctlr_peripheral_iso.conf
@@ -5,3 +5,4 @@
 CONFIG_BT_ISO_PERIPHERAL=y
 CONFIG_BT_CTLR_PERIPHERAL_ISO=y
 CONFIG_ZTEST=y
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_ctlr_peripheral_priv.conf b/tests/bluetooth/init/prj_ctlr_peripheral_priv.conf
index 9175c30..a7628e5 100644
--- a/tests/bluetooth/init/prj_ctlr_peripheral_priv.conf
+++ b/tests/bluetooth/init/prj_ctlr_peripheral_priv.conf
@@ -10,3 +10,4 @@
 CONFIG_BT_CTLR_ADV_EXT=n
 CONFIG_BT_LL_SW_SPLIT=y
 CONFIG_ZTEST=y
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_ctlr_sync_iso.conf b/tests/bluetooth/init/prj_ctlr_sync_iso.conf
index c614430..8ae4e44 100644
--- a/tests/bluetooth/init/prj_ctlr_sync_iso.conf
+++ b/tests/bluetooth/init/prj_ctlr_sync_iso.conf
@@ -11,3 +11,4 @@
 CONFIG_BT_CTLR_SYNC_ISO=y
 CONFIG_BT_LL_SW_SPLIT=y
 CONFIG_ZTEST=y
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_ctlr_tiny.conf b/tests/bluetooth/init/prj_ctlr_tiny.conf
index 949f5b5..7679de9 100644
--- a/tests/bluetooth/init/prj_ctlr_tiny.conf
+++ b/tests/bluetooth/init/prj_ctlr_tiny.conf
@@ -45,3 +45,4 @@
 CONFIG_FLASH=y
 CONFIG_SOC_FLASH_NRF_RADIO_SYNC_TICKER=y
 CONFIG_ZTEST=y
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_h5.conf b/tests/bluetooth/init/prj_h5.conf
index 8fc87b3..5a1eb7a 100644
--- a/tests/bluetooth/init/prj_h5.conf
+++ b/tests/bluetooth/init/prj_h5.conf
@@ -1,4 +1,4 @@
 CONFIG_BT=y
 CONFIG_BT_H5=y
 CONFIG_ZTEST=y
-
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_h5_dbg.conf b/tests/bluetooth/init/prj_h5_dbg.conf
index f18bd6e..07c8474 100644
--- a/tests/bluetooth/init/prj_h5_dbg.conf
+++ b/tests/bluetooth/init/prj_h5_dbg.conf
@@ -3,4 +3,4 @@
 CONFIG_BT_DEBUG_LOG=y
 CONFIG_BT_DEBUG_HCI_DRIVER=y
 CONFIG_ZTEST=y
-
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/prj_llcp.conf b/tests/bluetooth/init/prj_llcp.conf
index a1058d4..6c0d529 100644
--- a/tests/bluetooth/init/prj_llcp.conf
+++ b/tests/bluetooth/init/prj_llcp.conf
@@ -17,3 +17,4 @@
 CONFIG_BT_LL_SW_LLCP=y
 
 CONFIG_ZTEST=y
+CONFIG_ZTEST_NEW_API=y
diff --git a/tests/bluetooth/init/src/main.c b/tests/bluetooth/init/src/main.c
index 819e138..e7b4348 100644
--- a/tests/bluetooth/init/src/main.c
+++ b/tests/bluetooth/init/src/main.c
@@ -13,15 +13,9 @@
 
 #include <zephyr/bluetooth/bluetooth.h>
 
-void test_init(void)
+ZTEST_SUITE(test_bluetooth_init, NULL, NULL, NULL, NULL, NULL);
+
+ZTEST(test_bluetooth_init, test_init)
 {
 	zassert_false(bt_enable(NULL), "Bluetooth init failed");
 }
-
-/*test case main entry*/
-void test_main(void)
-{
-	ztest_test_suite(test_bluetooth,
-			ztest_unit_test(test_init));
-	ztest_run_test_suite(test_bluetooth);
-}