Changeset 50284 for trunk/tests/phpunit/tests/rest-api/rest-request.php
- Timestamp:
- 02/10/2021 01:24:24 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-request.php
r50150 r50284 495 495 $this->assertArrayHasKey( 'params', $data ); 496 496 $this->assertArrayHasKey( 'failparam', $data['params'] ); 497 $this->assert Equals( 'Invalid. Super Invalid. Broken.', $data['params']['failparam'] );497 $this->assertSame( 'Invalid. Super Invalid. Broken.', $data['params']['failparam'] ); 498 498 } 499 499 … … 525 525 $this->assertArrayHasKey( 'details', $data ); 526 526 $this->assertArrayHasKey( 'failparam', $data['details'] ); 527 $this->assert Equals(527 $this->assertSame( 528 528 array( 529 529 'code' => 'invalid', … … 758 758 $this->assertArrayHasKey( 'params', $data ); 759 759 $this->assertArrayHasKey( 'failparam', $data['params'] ); 760 $this->assert Equals( 'Invalid. Super Invalid. Broken.', $data['params']['failparam'] );760 $this->assertSame( 'Invalid. Super Invalid. Broken.', $data['params']['failparam'] ); 761 761 } 762 762 … … 788 788 $this->assertArrayHasKey( 'details', $data ); 789 789 $this->assertArrayHasKey( 'failparam', $data['details'] ); 790 $this->assert Equals(790 $this->assertSame( 791 791 array( 792 792 'code' => 'invalid',
Note: See TracChangeset
for help on using the changeset viewer.