WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #34405, comment 3


Ignore:
Timestamp:
11/03/2015 03:13:39 AM (5 years ago)
Author:
alexwbaumann
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34405, comment 3

    initial v1  
    1 This is my first time attempting to do a unit test. Following the directions to get everything installed, I can get expected results when attempting to just compare simple strings.
     1This is my first time attempting to do a unit test. I was having trouble with the original. After submitting, I soon found why it was not working for me as expected.
    22
    3 When I would run the unit test I uploaded, I could not get it to reproduce the result that I was experiencing to submit this ticket. I found that this seems to because that during sanitizing, it was now using the 'raw' context instead of 'edit'.
    43
    5 Any pointers to help with creating a unit test that would work as we expect would be a great help.
     4I think that the new file is what you are looking for. If not, let me know if you need anything else and I'll do my best.