-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Qual: Improve test message on failure
- Loading branch information
Showing
1 changed file
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
<?php | ||
/* Copyright (C) 2010 Laurent Destailleur <[email protected]> | ||
* Copyright (C) 2023 Alexandre Janniaux <[email protected]> | ||
* Copyright (C) 2024 MDW <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
|
@@ -229,7 +230,7 @@ public function testRestUpdateContact($objid) | |
print_r($updateResponse); | ||
|
||
// Check if the updated fields match the changes you made | ||
$this->assertTrue($updateResponse['firstname'] === $updateBody['firstname'], 'Update might have failed'); | ||
$this->assertEquals($updateBody['firstname'], $updateResponse['firstname'], 'Update failed for request body: '.$updateRequestBody); | ||
|
||
// Deleting the Contact | ||
/* | ||
|