diff --git a/tests/integration/test_plugins.py b/tests/integration/test_plugins.py index 57257091d7..4998c5e120 100644 --- a/tests/integration/test_plugins.py +++ b/tests/integration/test_plugins.py @@ -178,7 +178,7 @@ async def test_plugins(ops_test: OpsTest) -> None: # Test tcn extension disabled. with pytest.raises(psycopg2.Error): - connection.cursor().execute(TABLEFUNC_EXTENSION_STATEMENT) + connection.cursor().execute(TCN_EXTENSION_STATEMENT) # Test tsm_system_rows extension disabled. with pytest.raises(psycopg2.Error):