Changeset 7885 for trunk/tests/testcases/blogs/functions.php
- Timestamp:
- 02/14/2014 07:21:52 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/testcases/blogs/functions.php
r7883 r7885 186 186 /** 187 187 * @group blogmeta 188 * @group bp_blogs_update_ groupmeta188 * @group bp_blogs_update_blogmeta 189 189 */ 190 190 public function test_bp_blogs_update_blogmeta_new() { … … 195 195 /** 196 196 * @group blogmeta 197 * @group bp_blogs_update_ groupmeta197 * @group bp_blogs_update_blogmeta 198 198 */ 199 199 public function test_bp_blogs_update_blogmeta_existing() { … … 206 206 /** 207 207 * @group blogmeta 208 * @group bp_blogs_update_ groupmeta208 * @group bp_blogs_update_blogmeta 209 209 */ 210 210 public function test_bp_blogs_update_blogmeta_existing_no_change() { … … 212 212 $this->assertSame( 'bar', bp_blogs_get_blogmeta( 1, 'foo' ) ); 213 213 $this->assertFalse( bp_blogs_update_blogmeta( 1, 'foo', 'bar' ) ); 214 } 215 216 /** 217 * @group blogmeta 218 * @group bp_blogs_update_blogmeta 219 */ 220 public function test_bp_blogs_update_meta_prev_value() { 221 bp_blogs_add_blogmeta( 1, 'foo', 'bar' ); 222 $this->assertFalse( bp_blogs_update_blogmeta( 1, 'foo', 'bar2', 'baz' ) ); 223 $this->assertTrue( bp_blogs_update_blogmeta( 1, 'foo', 'bar2', 'bar' ) ); 214 224 } 215 225
Note: See TracChangeset
for help on using the changeset viewer.