I’ve installed the wpcli and php unit testing to my imac and the wordpress and wordpress-test-lib files were added to my tmp folder as they should have. I used this to install the setup.
I wanted to reinstall everything to make sure I had the process down so I could show others. However, after deleting the files from the tmp folder and reinstalling using the terminal command bash bin/install-wp-tests.sh wordpress_test root <mypassword> localhost latestwordpress and wordpress-test-lib folders are getting added to my /var/folders/xq/zdm3rwn.... folder, but the wp-latest.php file is installing in the tmp directory correctly.
How can I correct this problem with the other folders not being placed in the tmp directory or is there another work around I'm missing? Or is this not a problem and I just need to adjust another file to point to the right directory now.
Here is the return info from terminal after running the install...
mysqladmin create wordpress_test --user=root --password=mypassword --host=localhost --protocol=tcp
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
I’ve installed the wpcli and php unit testing to my imac and the wordpress and wordpress-test-lib files were added to my tmp folder as they should have. I used this to install the setup.
I wanted to reinstall everything to make sure I had the process down so I could show others. However, after deleting the files from the tmp folder and reinstalling using the terminal command bash bin/install-wp-tests.sh wordpress_test root <mypassword> localhost latestwordpress and wordpress-test-lib folders are getting added to my /var/folders/xq/zdm3rwn.... folder, but the wp-latest.php file is installing in the tmp directory correctly.
How can I correct this problem with the other folders not being placed in the tmp directory or is there another work around I'm missing? Or is this not a problem and I just need to adjust another file to point to the right directory now.
Here is the return info from terminal after running the install...
mysqladmin create wordpress_test --user=root --password=mypassword --host=localhost --protocol=tcp
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
php
permissions
unit-tests
Share
Improve this question
edited Feb 19, 2019 at 18:24Spencer Labadie
asked Feb 19, 2019 at 16:35
Spencer LabadieSpencer Labadie6111 silver badge33 bronze badges1
1Can you be more specific about how you're doing this at the moment?
– Tom J Nowell
♦CommentedFeb 19, 2019 at 17:02
Add a comment
|
1 Answer
1
Reset to default
0
enter code hereActually come to find out after further testing, these new set of folders, wordpress and wordpress-test-lib, that are now in the new directory /var/folders/xq/zdm3rwn.... do indeed still work properly for the unit testing.
Hope that helps someone else wondering about this same issue. In all the docs for these installs that I have seen they all mention the /tmp/ directory which seems to work the first time you install, but if you delete those file (which after more research I found I should not have done) then on my imac the installs went to this new tmp folder as I mentioned.