Skip to content

Commit be59c82

Browse files
committed
Fix failing tests 2
1 parent b8192f5 commit be59c82

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

tests/specs/relations_in_faker/app/models/base/B123.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function rules()
2323
return [
2424
'trim' => [['name'], 'trim'],
2525
'c123_id_integer' => [['c123_id'], 'integer'],
26-
'c123_id_exist' => [['c123_id'], 'exist', 'targetRelation' => 'C123'],
26+
'c123_id_exist' => [['c123_id'], 'exist', 'targetRelation' => 'c123'],
2727
'name_string' => [['name'], 'string'],
2828
];
2929
}

tests/specs/relations_in_faker/app/models/base/E123.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function rules()
2323
return [
2424
'trim' => [['name'], 'trim'],
2525
'b123_id_integer' => [['b123_id'], 'integer'],
26-
'b123_id_exist' => [['b123_id'], 'exist', 'targetRelation' => 'B123'],
26+
'b123_id_exist' => [['b123_id'], 'exist', 'targetRelation' => 'b123'],
2727
'name_string' => [['name'], 'string'],
2828
];
2929
}

tests/specs/relations_in_faker/app/models/base/Routing.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ public function rules()
3232
'trim' => [['path', 'service'], 'trim'],
3333
'required' => [['domain_id'], 'required'],
3434
'domain_id_integer' => [['domain_id'], 'integer'],
35-
'domain_id_exist' => [['domain_id'], 'exist', 'targetRelation' => 'Domain'],
35+
'domain_id_exist' => [['domain_id'], 'exist', 'targetRelation' => 'domain'],
3636
'd123_id_integer' => [['d123_id'], 'integer'],
37-
'd123_id_exist' => [['d123_id'], 'exist', 'targetRelation' => 'D123'],
37+
'd123_id_exist' => [['d123_id'], 'exist', 'targetRelation' => 'd123'],
3838
'a123_id_integer' => [['a123_id'], 'integer'],
39-
'a123_id_exist' => [['a123_id'], 'exist', 'targetRelation' => 'A123'],
39+
'a123_id_exist' => [['a123_id'], 'exist', 'targetRelation' => 'a123'],
4040
'path_string' => [['path'], 'string', 'max' => 255],
4141
'ssl_boolean' => [['ssl'], 'boolean'],
4242
'redirect_to_ssl_boolean' => [['redirect_to_ssl'], 'boolean'],

0 commit comments

Comments
 (0)