Changeset 1732343
- Timestamp:
- 09/19/2017 03:57:53 PM (9 years ago)
- Location:
- climate-content-pool/trunk
- Files:
-
- 5 edited
-
climate-content-pool.php (modified) (1 diff)
-
phpunit.xml (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
tests/ContentPoolTestBase.php (modified) (1 diff)
-
tests/test-post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
climate-content-pool/trunk/climate-content-pool.php
r1209738 r1732343 3 3 Plugin Name: Climate Content Pool 4 4 Description: Pushes posts into the Climate Tagger Content Pool 5 Version: 1.0. 15 Version: 1.0.2 6 6 Author: Aptivate 7 7 */ -
climate-content-pool/trunk/phpunit.xml
r1209723 r1732343 1 1 <phpunit 2 2 bootstrap="tests/bootstrap.php" 3 backupGlobals=" true"3 backupGlobals="false" 4 4 colors="true" 5 5 convertErrorsToExceptions="true" -
climate-content-pool/trunk/readme.txt
r1209738 r1732343 3 3 Tags: climate tagger, content pool, api 4 4 Requires at least: 3.7 5 Tested up to: 4. 2.26 Stable tag: 1.0. 15 Tested up to: 4.8.1 6 Stable tag: 1.0.2 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 41 41 42 42 == Changelog == 43 44 = 1.0.2 = 45 * Test fixes only - no code changes 43 46 44 47 = 1.0.1 = -
climate-content-pool/trunk/tests/ContentPoolTestBase.php
r1209723 r1732343 2 2 abstract class ContentPoolTestBase extends WP_UnitTestCase 3 3 { 4 public function setUp() { 5 parent::setUp(); 6 7 /* backupGlobals="true" no longer works with WP-CLI so we have to reset them 8 * all here 9 */ 10 11 global $_CONTENT_POOL_MOCK_OPTIONS; 12 $_CONTENT_POOL_MOCK_OPTIONS = array(); 13 14 global $_CONTENT_POOL_MOCK_RESPONSE; 15 $_CONTENT_POOL_MOCK_RESPONSE = array( 16 'response' => array( 17 'code' => '200', 18 ), 19 ); 20 21 global $wp_meta_boxes; 22 $wp_meta_boxes = array(); 23 } 24 4 25 protected function get_html_element_from_output( $output, $path ) 5 26 { -
climate-content-pool/trunk/tests/test-post.php
r1209723 r1732343 20 20 'post_type' => 'post', 21 21 ); 22 23 22 } 24 23
Note: See TracChangeset
for help on using the changeset viewer.