core: fix transaction test case#15021
Conversation
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
✅ Deploy Preview for authentik-storybook canceled.
|
✅ Deploy Preview for authentik-docs canceled.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #15021 +/- ##
=======================================
Coverage 92.76% 92.76%
=======================================
Files 815 815
Lines 42106 42112 +6
=======================================
+ Hits 39059 39065 +6
Misses 3047 3047
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Tenants use APITransactionTestCase which is also TransactionTestCase under the hood |
0feeb06 to
92948d0
Compare
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
3d0f655 to
473b342
Compare
|
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-473b3428850147afbaa187e02098450e334fd737
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)sAfterwards, run the upgrade commands from the latest release notes. Instructions for KubernetesAdd the following block to your authentik:
outposts:
container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
image:
repository: ghcr.io/goauthentik/dev-server
tag: gh-473b3428850147afbaa187e02098450e334fd737Afterwards, run the upgrade commands from the latest release notes. |
|
/cherry-pick version-2025.6 |
|
Cherry-pick failed with |
* move patched ct to root Signed-off-by: Jens Langhammer <jens@goauthentik.io> * use our transaction test case as base Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix...? Signed-off-by: Jens Langhammer <jens@goauthentik.io> * well apparently that works Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* core: fix transaction test case (#15021) * move patched ct to root Signed-off-by: Jens Langhammer <jens@goauthentik.io> * use our transaction test case as base Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix...? Signed-off-by: Jens Langhammer <jens@goauthentik.io> * well apparently that works Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fixup! core: fix transaction test case (#15021) --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io> Co-authored-by: Jens L. <jens@goauthentik.io>
* main: website/docs: also hide the postgres pool_options setting (#15023) blueprints: sort schema items (#15022) website: bump the build group in /website with 6 updates (#15027) core: bump astral-sh/uv from 0.7.12 to 0.7.13 (#15028) core: bump twilio from 9.6.2 to 9.6.3 (#15029) core: bump sentry-sdk from 2.29.1 to 2.30.0 (#15030) core: bump kubernetes from 32.0.1 to 33.1.0 (#15031) core, web: update translations (#15026) web: bump the sentry group across 1 directory with 2 updates (#15025) translate: Updates for file web/xliff/en.xlf in zh_CN (#15018) lifecycle/aws: bump aws-cdk from 2.1018.0 to 2.1018.1 in /lifecycle/aws (#15016) website: bump postcss from 8.5.4 to 8.5.5 in /website (#15013) website: bump @types/node from 24.0.0 to 24.0.1 in /website (#15014) core: fix transaction test case (#15021) translate: Updates for file web/xliff/en.xlf in zh-Hans (#15019) website/docs: correct minor version in release notes (#15012) root: test label handling and error reporting in PytestTestRunner (#14000) outposts/ldap: Handle comma-separated attributes in LDAP search requests (#15000) website/integrations: standardize application slug placeholder in docs (#15007) core: bump django from 5.1.10 to 5.1.11 (#14997)
* move patched ct to root Signed-off-by: Jens Langhammer <jens@goauthentik.io> * use our transaction test case as base Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix...? Signed-off-by: Jens Langhammer <jens@goauthentik.io> * well apparently that works Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Details
See #14997 (comment)
Checklist
ak test authentik/)make lint-fix)If an API change has been made
make gen-build)If changes to the frontend have been made
make web)If applicable
make website)