@@ -36,6 +36,7 @@ public function testAdd(): void
3636 ->setEmail ('test@example.org ' )
3737 ->setCategoryId (1 )
3838 ->setQuestion ('Test question ' )
39+ ->setLanguage ('en ' )
3940 ->setIsVisible (true );
4041
4142 $ this ->assertTrue ($ this ->question ->add ($ questionData ));
@@ -49,6 +50,7 @@ public function testDelete(): void
4950 ->setEmail ('test@example.org ' )
5051 ->setCategoryId (1 )
5152 ->setQuestion ('Test question ' )
53+ ->setLanguage ('en ' )
5254 ->setIsVisible (true );
5355
5456 $ this ->question ->add ($ questionData );
@@ -63,6 +65,7 @@ public function testGet(): void
6365 ->setEmail ('test@example.org ' )
6466 ->setCategoryId (1 )
6567 ->setQuestion ('Test question ' )
68+ ->setLanguage ('en ' )
6669 ->setIsVisible (true );
6770
6871 $ this ->question ->add ($ questionData );
@@ -80,6 +83,7 @@ public function testGetAll(): void
8083 ->setEmail ('test@example.org ' )
8184 ->setCategoryId (1 )
8285 ->setQuestion ('Test question ' )
86+ ->setLanguage ('en ' )
8387 ->setIsVisible (true );
8488
8589 $ this ->question ->add ($ questionData );
@@ -90,6 +94,7 @@ public function testGetAll(): void
9094 ->setEmail ('test@example.org ' )
9195 ->setCategoryId (1 )
9296 ->setQuestion ('Test question ' )
97+ ->setLanguage ('en ' )
9398 ->setIsVisible (true );
9499
95100 $ this ->question ->add ($ questionData );
@@ -108,6 +113,7 @@ public function testGetVisibility(): void
108113 ->setEmail ('test@example.org ' )
109114 ->setCategoryId (1 )
110115 ->setQuestion ('Test question ' )
116+ ->setLanguage ('en ' )
111117 ->setIsVisible (false );
112118
113119 $ this ->question ->add ($ questionData );
@@ -123,6 +129,7 @@ public function testSetVisibility(): void
123129 ->setEmail ('test@example.org ' )
124130 ->setCategoryId (1 )
125131 ->setQuestion ('Test question ' )
132+ ->setLanguage ('en ' )
126133 ->setIsVisible (true );
127134
128135 $ this ->question ->add ($ questionData );
0 commit comments