Repository navigation
Commit d7640ec
committed
Tests: Assert unsupported global styles REST requests.
Replace empty create and delete test stubs with assertions that unsupported requests return `rest_no_route`. Verify the existing global styles item accepts `GET` before checking `DELETE`.
Developed in: #14150
Props shailu25.
See #66073.
git-svn-id: https://develop.svn.wordpress.org/trunk@64289 602fd350-edb4-49c9-b593-d223f7449a821 parent 0876679 commit d7640ec
1 file changed
Lines changed: 23 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
589 | 589 | | |
590 | 590 | | |
591 | 591 | | |
592 | | - | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
593 | 595 | | |
594 | 596 | | |
595 | | - | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
596 | 603 | | |
597 | 604 | | |
598 | 605 | | |
| |||
767 | 774 | | |
768 | 775 | | |
769 | 776 | | |
770 | | - | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
771 | 780 | | |
772 | 781 | | |
773 | | - | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
774 | 793 | | |
775 | 794 | | |
776 | 795 | | |
| |||
0 commit comments