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

Dev #2773 bc database service test #2782

Merged

Conversation

nghiem-mb
Copy link
Contributor

No description provided.

@nghiem-mb nghiem-mb closed this Oct 4, 2023
@nghiem-mb nghiem-mb reopened this Oct 4, 2023
if (empty($files[1])) continue;
foreach($files[1] as $file) {
$folder = new BcFolder($path);
$folder->create();
Copy link
Collaborator

Choose a reason for hiding this comment

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

@nghiem-mb ここでcreate は必要ですか?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ryuring
必要だと思います。
new BcFolder($path)はpathの値を設定するだけ、フォルダはまだ作成されていないじゃないですか?

$files = $Folder->read(true, true, true);
$csvList = $files[1];
$Folder = new BcFolder($path . DS . $plugin);
$Folder->create();
Copy link
Collaborator

Choose a reason for hiding this comment

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

@nghiem-mb ここで create は必要ですか?

@@ -1813,7 +1813,7 @@ public function testIncludeCore($selectPlugin, $name, $data, $options, $expected
$path2 = ROOT . '/lib/Baser/Plugin/Test/View';
mkdir($path2);
$path3 = ROOT . '/lib/Baser/Plugin/Test/View/test.php';
$plugin = new File($path3);
$plugin = new BcFile($path3);
$plugin->write('test');
$plugin->close();
Copy link
Collaborator

Choose a reason for hiding this comment

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

@nghiem-mb closeを削除してください

@ryuring ryuring assigned nghiem-mb and unassigned ryuring Oct 5, 2023
@ryuring ryuring added the Reviewed レビュー済 label Oct 5, 2023
@nghiem-mb nghiem-mb assigned ryuring and unassigned nghiem-mb Oct 9, 2023
@ryuring ryuring merged commit dac78cd into baserproject:dev-#2773 Oct 9, 2023
1 check passed
@nghiem-mb nghiem-mb deleted the dev-#2773-BcDatabaseServiceTest branch October 11, 2023 01:24
@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.

3 participants