From 5a4f3d35d242e5e466f72653ca64a5aa7e1fb516 Mon Sep 17 00:00:00 2001 From: Sergey Motornyuk Date: Fri, 28 Jun 2024 18:52:15 +0300 Subject: [PATCH] feat: CKAN v2.11 support --- .github/workflows/test.yml | 2 +- ckanext/googleanalytics/tests/test_plugin.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8f9c2ab4..d76db570 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,7 +19,7 @@ jobs: needs: lint strategy: matrix: - ckan-version: ["2.10", 2.9, 2.9-py2, 2.8] + ckan-version: ["2.11", "2.10", 2.9, 2.9-py2, 2.8] fail-fast: false name: CKAN ${{ matrix.ckan-version }} diff --git a/ckanext/googleanalytics/tests/test_plugin.py b/ckanext/googleanalytics/tests/test_plugin.py index 15682bf5..0e38b2f3 100644 --- a/ckanext/googleanalytics/tests/test_plugin.py +++ b/ckanext/googleanalytics/tests/test_plugin.py @@ -1,7 +1,7 @@ import pytest -@pytest.mark.usefixtures("clean_db") +@pytest.mark.usefixtures("with_plugins", "clean_db") def test_script(app): resp = app.get("/") assert "GoogleAnalyticsObject" in resp