Skip to content

Commit

Permalink
✅ [open-formulieren/open-forms#3435] Test string method
Browse files Browse the repository at this point in the history
  • Loading branch information
SilviaAmAm committed Nov 3, 2023
1 parent aa1c230 commit c7fd5e8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions token_exchange/tests/test_models.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from django.test import TestCase

from .factories import TokenExchangeConfigurationFactory


class TokenExchangeConfigurationTests(TestCase):
def test_string_method(self):
config = TokenExchangeConfigurationFactory.create(service__label="A label")

self.assertEqual("A label", str(config))

0 comments on commit c7fd5e8

Please sign in to comment.