Skip to content

Commit 00ec932

Browse files
author
mastiuhin-olexandr
committed
MC-34851: Foreign key error in MySQL 8.0 from MFTF test
1 parent 9ad6f13 commit 00ec932

File tree

1 file changed

+3
-3
lines changed
  • app/code/Magento/Ui/Test/Unit/Controller/Adminhtml/Bookmark

1 file changed

+3
-3
lines changed

app/code/Magento/Ui/Test/Unit/Controller/Adminhtml/Bookmark/SaveTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class SaveTest extends TestCase
6161
/**
6262
* @var Save
6363
*/
64-
private $unit;
64+
private $model;
6565

6666
/**
6767
* @inheritDoc
@@ -76,7 +76,7 @@ protected function setUp(): void
7676
$this->userContext = $this->createMock(UserContextInterface::class);
7777
$this->jsonDecoder = $this->createMock(DecoderInterface::class);
7878

79-
$this->unit = new Save(
79+
$this->model = new Save(
8080
$this->context,
8181
$this->factory,
8282
$this->bookmarkRepository,
@@ -109,6 +109,6 @@ public function testExecuteWontBeExecutedWhenNoUserIdInContext(): void
109109
$this->userContext->method('getUserId')
110110
->willReturn(null);
111111

112-
$this->unit->execute();
112+
$this->model->execute();
113113
}
114114
}

0 commit comments

Comments
 (0)