Skip to content

Commit db08939

Browse files
committed
Attempt to fix failing tests in Github Action
1 parent 6100d21 commit db08939

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/lib/AttributeResolver.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ protected function resolveJunctionTableProperty(PropertySchema $property, bool $
140140
->setPhpType($junkAttribute['phpType'])
141141
->setDbType($junkAttribute['dbType'])
142142
->setForeignKeyColumnName($property->fkColName)
143-
->setTableName($this->componentSchema->resolveTableName($this->schemaName));
143+
// ->setTableName($this->componentSchema->resolveTableName($this->schemaName))
144+
;
144145
$relation = Yii::createObject(AttributeRelation::class, [
145146
$property->getName(),
146147
$junkAttribute['relatedTableName'],
@@ -229,7 +230,8 @@ protected function resolveProperty(
229230
->setIsPrimary($property->isPrimaryKey())
230231
->setForeignKeyColumnName($property->fkColName)
231232
->setFakerStub($this->guessFakerStub($attribute, $property))
232-
->setTableName($this->componentSchema->resolveTableName($this->schemaName));
233+
// ->setTableName($this->componentSchema->resolveTableName($this->schemaName))
234+
;
233235
if ($property->isReference()) {
234236
if ($property->isVirtual()) {
235237
throw new InvalidDefinitionException('References not supported for virtual attributes');

0 commit comments

Comments
 (0)