Skip to content
  • Tim Hunt's avatar
    16282275
    MDL-48639 behat upload: support absolute paths & better errors · 16282275
    Tim Hunt authored
    In a custom step I needed to be able to upload a file I had previously
    saved to $CFG->dataroot/temp, but that was not possible.
    
    Also, the failure was not at all obvious. I have made it throw a clear
    exception if the file you are trying to upload does not exist.
    16282275
    MDL-48639 behat upload: support absolute paths & better errors
    Tim Hunt authored
    In a custom step I needed to be able to upload a file I had previously
    saved to $CFG->dataroot/temp, but that was not possible.
    
    Also, the failure was not at all obvious. I have made it throw a clear
    exception if the file you are trying to upload does not exist.
Loading