error handling in sysrepo has changed

Depends-on: https://gerrit.cesnet.cz/c/CzechLight/dependencies/+/7969
Depends-on: https://gerrit.cesnet.cz/c/CzechLight/sysrepo-ietf-alarms/+/7973
Change-Id: Id028806ed49114cba4c55e2874bcf3fc98308bdc
diff --git a/tests/sysrepo_system-firmware.cpp b/tests/sysrepo_system-firmware.cpp
index a16eee3..f4920ea 100644
--- a/tests/sysrepo_system-firmware.cpp
+++ b/tests/sysrepo_system-firmware.cpp
@@ -249,11 +249,10 @@
             SECTION("Invoking second installation throws")
             {
                 REQUIRE_THROWS_WITH_AS(client.sendRPC(rpcInput),
-                        "Couldn't send RPC: SR_ERR_CALLBACK_FAILED\n"
+                        "Couldn't send RPC: SR_ERR_OPERATION_FAILED\n"
                         // FIXME: why is this present twice? Looks like a libyang-v2.2/sysrepo change that I do not understand
                         " Already processing a different method (SR_ERR_OPERATION_FAILED)\n"
                         " Already processing a different method (SR_ERR_OPERATION_FAILED)\n"
-                        " User callback failed. (SR_ERR_CALLBACK_FAILED)\n"
                         " NETCONF: application: operation-failed: Already processing a different method",
                         sysrepo::ErrorWithCode);
             }