feat: add ClassifiedAdText value object and use it in ClassifiedAd
This commit is contained in:
7
tests/test_classified_ad_text.py
Normal file
7
tests/test_classified_ad_text.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from domain.marketplace.classified_ad_text import ClassifiedAdText
|
||||
|
||||
|
||||
def test_classified_ad_text_creation():
|
||||
text = ClassifiedAdText(text="This is a classified ad description.")
|
||||
|
||||
assert text.text == "This is a classified ad description."
|
||||
Reference in New Issue
Block a user