Changeset 11117 for trunk/tests/phpunit/testcases/core/class-bp-button.php
- Timestamp:
- 09/19/2016 07:00:19 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/core/class-bp-button.php
r11115 r11117 187 187 ) ); 188 188 189 $this->assert NotFalse(strpos( $b->contents, '<section ' ) );190 $this->assert NotFalse(strpos( $b->contents, 'class="section-class ' ) );191 $this->assert NotFalse(strpos( $b->contents, 'id="section-id"' ) );192 $this->assert NotFalse(strpos( $b->contents, 'data-parent="foo"' ) );193 $this->assert NotFalse(strpos( $b->contents, '<button ' ) );194 $this->assert NotFalse(strpos( $b->contents, 'autofocus="autofocus"' ) );195 $this->assert NotFalse(strpos( $b->contents, 'type="submit"' ) );196 $this->assert NotFalse(strpos( $b->contents, 'name="my-button"' ) );189 $this->assertInternalType( 'int', strpos( $b->contents, '<section ' ) ); 190 $this->assertInternalType( 'int', strpos( $b->contents, 'class="section-class ' ) ); 191 $this->assertInternalType( 'int', strpos( $b->contents, 'id="section-id"' ) ); 192 $this->assertInternalType( 'int', strpos( $b->contents, 'data-parent="foo"' ) ); 193 $this->assertInternalType( 'int', strpos( $b->contents, '<button ' ) ); 194 $this->assertInternalType( 'int', strpos( $b->contents, 'autofocus="autofocus"' ) ); 195 $this->assertInternalType( 'int', strpos( $b->contents, 'type="submit"' ) ); 196 $this->assertInternalType( 'int', strpos( $b->contents, 'name="my-button"' ) ); 197 197 } 198 198
Note: See TracChangeset
for help on using the changeset viewer.