-
Notifications
You must be signed in to change notification settings - Fork 132
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
Dev #2773 bc database service test #2782
Conversation
if (empty($files[1])) continue; | ||
foreach($files[1] as $file) { | ||
$folder = new BcFolder($path); | ||
$folder->create(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nghiem-mb ここでcreate は必要ですか?
There was a problem hiding this comment.
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(); |
There was a problem hiding this comment.
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(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nghiem-mb closeを削除してください
No description provided.