Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
cnellis
/
WP-API
Public
forked from
WP-API/WP-API
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
WP-API
tests
test-json-posts-controller.php
on
develop
User selector
All users
Datepicker
All time
Commit history
Commits on Mar 4, 2015
Correct test method spelling of permission.
rachelbaker
committed
db148b6
View commit details
Copy full SHA for db148b6
View code at this point
Browse repository at this point
Add unit tests for Post _links href values.
rachelbaker
committed
3159cd8
View commit details
Copy full SHA for 3159cd8
View code at this point
Browse repository at this point
Commits on Feb 24, 2015
Fix test that was successful previously because of the v1.0 controler
danielbachhuber
committed
3612c8b
View commit details
Copy full SHA for 3612c8b
View code at this point
Browse repository at this point
Commits on Feb 22, 2015
Always defer to controller for post type
Show description for b4a96f8
danielbachhuber
committed
b4a96f8
View commit details
Copy full SHA for b4a96f8
View code at this point
Browse repository at this point
Updating another field shouldn't change sticky status
danielbachhuber
committed
15eafd1
View commit details
Copy full SHA for 15eafd1
View code at this point
Browse repository at this point
Always include `guid` in Post and Page schemas
danielbachhuber
committed
74d8422
View commit details
Copy full SHA for 74d8422
View code at this point
Browse repository at this point
Commits on Feb 18, 2015
Test expected schema for Posts
danielbachhuber
committed
3180863
View commit details
Copy full SHA for 3180863
View code at this point
Browse repository at this point
Make testing schema required
danielbachhuber
committed
4852066
View commit details
Copy full SHA for 4852066
View code at this point
Browse repository at this point
Commits on Feb 16, 2015
Update zero results unit test to match expectations in #862.
Show description for 620f2a8
rachelbaker
committed
620f2a8
View commit details
Copy full SHA for 620f2a8
View code at this point
Browse repository at this point
Commits on Feb 15, 2015
Fix setting the post content / post exceprt to empty string
joehoyle
committed
87a5a48
View commit details
Copy full SHA for 87a5a48
View code at this point
Browse repository at this point
Fix updating a password to a false value or empty string
Show description for 7542ed0
joehoyle
committed
7542ed0
View commit details
Copy full SHA for 7542ed0
View code at this point
Browse repository at this point
Commits on Feb 14, 2015
Merge pull request #870 from WP-API/864-pages-tests
Show description for 713f684
rachelbaker
committed
713f684
View commit details
Copy full SHA for 713f684
View code at this point
Browse repository at this point
Add unit test for changing a post slug.
rachelbaker
committed
650cc98
View commit details
Copy full SHA for 650cc98
View code at this point
Browse repository at this point
Commits on Feb 11, 2015
Abstract test commonalities to
Show description for d4806c2
danielbachhuber
committed
d4806c2
View commit details
Copy full SHA for d4806c2
View code at this point
Browse repository at this point
Break Pages tests into a separate class
Show description for e4f167a
danielbachhuber
committed
e4f167a
View commit details
Copy full SHA for e4f167a
View code at this point
Browse repository at this point
Commits on Feb 3, 2015
Add `featured_image` attribute for post types that support `thumbnails`
danielbachhuber
committed
f666627
View commit details
Copy full SHA for f666627
View code at this point
Browse repository at this point
Commits on Feb 2, 2015
Only accept classes that are subclasses of `WP_JSON_Controller`
danielbachhuber
committed
13a73b6
View commit details
Copy full SHA for 13a73b6
View code at this point
Browse repository at this point
Commits on Jan 30, 2015
Post type fields should respect post_type_supports and other post type
Show description for a8d20b5
danielbachhuber
committed
a8d20b5
View commit details
Copy full SHA for a8d20b5
View code at this point
Browse repository at this point
Don't permit querying for arbitrary post types
Show description for e33c55f
danielbachhuber
committed
e33c55f
View commit details
Copy full SHA for e33c55f
View code at this point
Browse repository at this point
Requests for a post type must be made on the post type's endpoints
Show description for 19d90e9
danielbachhuber
committed
19d90e9
View commit details
Copy full SHA for 19d90e9
View code at this point
Browse repository at this point
Dynamically register post type endpoints based on `access_in_json` registration
Show description for 9a2da5b
danielbachhuber
committed
9a2da5b
View commit details
Copy full SHA for 9a2da5b
View code at this point
Browse repository at this point
Commits on Jan 24, 2015
Add test for post w/o read permission that should be left out of /posts endpoint results.
rachelbaker
committed
cdd253a
View commit details
Copy full SHA for cdd253a
View code at this point
Browse repository at this point
Commits on Jan 21, 2015
Remove duplicate setUp and tearDown logic from parent of WP_Test_JSON_Posts_Controller
rachelbaker
committed
aaa8415
View commit details
Copy full SHA for aaa8415
View code at this point
Browse repository at this point
Commits on Jan 5, 2015
Merge pull request #753 from WP-API/fix-738
Show description for 6ed776d
danielbachhuber
committed
6ed776d
View commit details
Copy full SHA for 6ed776d
View code at this point
Browse repository at this point
Commits on Jan 3, 2015
Add tests to confirm default dates return null.
rachelbaker
committed
85aac02
View commit details
Copy full SHA for 85aac02
View code at this point
Browse repository at this point
Add unit test for updating a post without type or other extra parameters.
rachelbaker
committed
66af490
View commit details
Copy full SHA for 66af490
View code at this point
Browse repository at this point
Correct check_post_data date conditions to match Base logic.
rachelbaker
committed
0f59df3
View commit details
Copy full SHA for 0f59df3
View code at this point
Browse repository at this point
Add unit test to get post with password.
rachelbaker
committed
1451cdd
View commit details
Copy full SHA for 1451cdd
View code at this point
Browse repository at this point
Commits on Jan 2, 2015
Add unit test for error response of single post with password.
rachelbaker
committed
57b5167
View commit details
Copy full SHA for 57b5167
View code at this point
Browse repository at this point
Commits on Dec 23, 2014
Added test for *.raw post data.
ellatrix
committed
3513f5f
View commit details
Copy full SHA for 3513f5f
View code at this point
Browse repository at this point
Commits on Dec 22, 2014
Add unit test for sticky post handling on update.
rachelbaker
committed
e1e83f9
View commit details
Copy full SHA for e1e83f9
View code at this point
Browse repository at this point
Add unit tests for handling format parameter on create and update.
rachelbaker
committed
821156c
View commit details
Copy full SHA for 821156c
View code at this point
Browse repository at this point
Rename test method to match controller method names.
rachelbaker
committed
ec52d15
View commit details
Copy full SHA for ec52d15
View code at this point
Browse repository at this point
Commits on Dec 17, 2014
Add test to create a private post without permission.
rachelbaker
committed
d1e731b
View commit details
Copy full SHA for d1e731b
View code at this point
Browse repository at this point
Add test for creating a post with invalid id.
rachelbaker
committed
abb2bbc
View commit details
Copy full SHA for abb2bbc
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.