@@ -164,7 +164,7 @@ public function it_ignores_the_given_id()
164164 ]);
165165
166166 $ rules = [
167- 'slug ' => "{$ this ->rule }: {$ this ->table },slug , {$ model ->id }" ,
167+ 'slug ' => "{$ this ->rule }: {$ this ->table },null , {$ model ->id }" ,
168168 'name ' => UniqueTranslationRule::for ($ this ->table )->ignore ($ model ->id ),
169169 ];
170170
@@ -177,7 +177,7 @@ public function it_ignores_the_given_id()
177177 $ this ->assertEmpty ($ validation ->errors ()->keys ());
178178
179179 $ rules = [
180- 'slug.* ' => "{$ this ->rule }: {$ this ->table },slug , {$ model ->id }" ,
180+ 'slug.* ' => "{$ this ->rule }: {$ this ->table },null , {$ model ->id }" ,
181181 'name.* ' => UniqueTranslationRule::for ($ this ->table )->ignore ($ model ->id ),
182182 ];
183183
@@ -200,7 +200,7 @@ public function it_ignores_a_specific_attribute_with_the_given_value()
200200 ]);
201201
202202 $ rules = [
203- 'slug ' => "{$ this ->rule }: {$ this ->table },slug , {$ model ->other_field },other_field " ,
203+ 'slug ' => "{$ this ->rule }: {$ this ->table },null , {$ model ->other_field },other_field " ,
204204 'name ' => UniqueTranslationRule::for ($ this ->table )->ignore ($ model ->other_field , 'other_field ' ),
205205 ];
206206
@@ -213,7 +213,7 @@ public function it_ignores_a_specific_attribute_with_the_given_value()
213213 $ this ->assertEmpty ($ validation ->errors ()->keys ());
214214
215215 $ rules = [
216- 'slug.* ' => "{$ this ->rule }: {$ this ->table },slug , {$ model ->other_field },other_field " ,
216+ 'slug.* ' => "{$ this ->rule }: {$ this ->table },null , {$ model ->other_field },other_field " ,
217217 'name.* ' => UniqueTranslationRule::for ($ this ->table )->ignore ($ model ->other_field , 'other_field ' ),
218218 ];
219219
@@ -235,8 +235,8 @@ public function it_ignores_null_values()
235235 ]);
236236
237237 $ rules = [
238- 'slug ' => "{$ this ->rule }: {$ this ->table },slug " ,
239- 'name ' => UniqueTranslationRule::for ($ this ->table , ' name ' ),
238+ 'slug.* ' => "{$ this ->rule }: {$ this ->table }" ,
239+ 'name.* ' => UniqueTranslationRule::for ($ this ->table ),
240240 ];
241241
242242 $ validation = Validator::make ([
0 commit comments