Skip to content

Unit tests for SP_Admin plus capability restrictions#37

Merged
mboynes merged 4 commits intomasterfrom
admin-capabilities
Sep 25, 2016
Merged

Unit tests for SP_Admin plus capability restrictions#37
mboynes merged 4 commits intomasterfrom
admin-capabilities

Conversation

@mboynes
Copy link
Copy Markdown
Contributor

@mboynes mboynes commented Sep 24, 2016

The two main components of this PR are:

  • Thorough unit tests for SP_Admin
  • Adding more restrictions around SP messages and filtering the capability required to interact with the SP settings

In addition, from adding the unit tests, this led to fixing some potential bugs and cleaning up some code.

Adding unit tests for this exposed some other issues. This fixes those, even though they're otherwise unrelated to the task at hand.
@bcampeau
Copy link
Copy Markdown
Member

a 🐴 is a 🐴

# Conflicts:
#	lib/class-sp-admin.php
#	tests/test-indexing.php
@mboynes mboynes merged commit e76a285 into master Sep 25, 2016
@renatonascalves renatonascalves deleted the admin-capabilities branch February 22, 2019 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants