forked from mirzaev/baza
1
0
Fork 0

fix useless deleted entry test

This commit is contained in:
Little Fluffy Clouds 2025-07-12 11:02:41 +03:00
parent 6610acf82d
commit cb06605052

View File

@ -375,8 +375,8 @@ try {
* *
* @see https://www.php.net/manual/en/language.types.float.php#113703 * @see https://www.php.net/manual/en/language.types.float.php#113703
*/ */
echo '[' . $action . '][' . ++$test . '][' . (round($records_readed_filter_delete[0]->motivation, 2) === round(2.2250738585072E-308, 2) ? 'SUCCESS' : 'FAIL') . ']["motivation"] Expected: "2.2250738585072E-308" (double). Actual: "' . $records_readed_filter_delete[0]->motivation . '" (' . gettype($records_readed_filter_delete[0]->motivation) . ")\n"; echo '[' . $action . '][' . ++$test . '][' . (round($records_readed_filter_delete_readed[1]->motivation, 2) === round(163, 2) ? 'SUCCESS' : 'FAIL') . ']["motivation"] Expected: "163" (double). Actual: "' . $records_readed_filter_delete_readed[1]->motivation . '" (' . gettype($records_readed_filter_delete_readed[1]->motivation) . ")\n";
echo '[' . $action . '][' . ++$test . '][' . ($records_readed_filter_delete[0]->reputation === (int) -9223372036854775808 ? 'SUCCESS' : 'FAIL') . ']["reputation"] Expected: "-9223372036854775808" (integer). Actual: "' . $records_readed_filter_delete[0]->reputation . '" (' . gettype($records_readed_filter_delete[0]->reputation) . ")\n"; echo '[' . $action . '][' . ++$test . '][' . ($records_readed_filter_delete_readed[1]->reputation === (int) 9223372036854775807 ? 'SUCCESS' : 'FAIL') . ']["reputation"] Expected: "9223372036854775807" (integer). Actual: "' . $records_readed_filter_delete_readed[1]->reputation . '" (' . gettype($records_readed_filter_delete_readed[1]->reputation) . ")\n";
} }
echo '[' . $action . "] The deleted record by filter checks have been completed\n"; echo '[' . $action . "] The deleted record by filter checks have been completed\n";