Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin/ThemeFilesController::beforeRender のユニットテスト #2791

Conversation

HungDV2022
Copy link
Collaborator

No description provided.

$this->markTestIncomplete('このテストは未実装です。');
//テーマがデフォルトテーマの場合、
$request = $this->getRequest()->withParam('pass.0', 'BcFront');
$this->ThemeFilesController = new ThemeFilesController($this->loginAdmin($request));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@HungDV2022 ここでしか使わないのであれば、プロパティにする必要がありません。

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ryuring こちらを修正しました。確認お願いします。

@ryuring
Copy link
Collaborator

ryuring commented Oct 9, 2023

@HungDV2022 $this->set() の検証もお願いします。

ThemeFilesController::viewBuilder()->getVar('isDefaultTheme') で確認できると思います。

@ryuring ryuring assigned HungDV2022 and unassigned ryuring Oct 9, 2023
@ryuring ryuring added the Reviewed レビュー済 label Oct 9, 2023
@HungDV2022
Copy link
Collaborator Author

@HungDV2022 $this->set() の検証もお願いします。

ThemeFilesController::viewBuilder()->getVar('isDefaultTheme') で確認できると思います。

@ryuring こちらを修正しました。確認お願いします。

@HungDV2022 HungDV2022 assigned ryuring and unassigned HungDV2022 Oct 11, 2023
@ryuring
Copy link
Collaborator

ryuring commented Oct 16, 2023

@HungDV2022 調整ありがとうございました。

@ryuring ryuring merged commit 8eba0be into baserproject:dev-5 Oct 16, 2023
1 check passed
@gondoh gondoh added this to the 5.0.6 milestone Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Reviewed レビュー済
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants