Go to the source code of this file.
Classes | |
| class | dbxMissingLogTestDb |
| class | dbxMissingLogTestApi |
Variables | |
| $fail | |
| $api = new dbxMissingLogTestApi() | |
| $_SERVER ['HTTP_REFERER'] = 'https://localhost/dbxapp/home/tutorial?token=secret#bereich' | |
| $firstId = $api->log_missing('assets/missing.svg') | |
| $secondId = $api->log_missing('assets/missing.svg') | |
| if( $firstId !==1||$secondId !==1||count( $api->testDb->rows) !==1||(int) $api->testDb->rows[0][ 'count'] !==2) if(($api->testDb->rows[0]['request'] ?? '') !=='https://localhost/dbxapp/home/tutorial') if( $api->testDb->begins !==2||$api->testDb->commits !==2||$api->testDb->rollbacks !==0||$api->testDb->transaction) | if ( $api->log_missing('') !==0||$api->testDb->begins !==2||$api->errors !==array()) |
| $_SERVER[ 'HTTP_REFERER'] = 'https://localhost/dbxapp/home/tutorial?token=secret#bereich' |
Definition at line 95 of file dbxApi_missing_log_test.php.
| $api = new dbxMissingLogTestApi() |
Definition at line 94 of file dbxApi_missing_log_test.php.
| $fail |
Definition at line 89 of file dbxApi_missing_log_test.php.
| $firstId = $api->log_missing('assets/missing.svg') |
Definition at line 97 of file dbxApi_missing_log_test.php.
| $secondId = $api->log_missing('assets/missing.svg') |
Definition at line 98 of file dbxApi_missing_log_test.php.
| if($firstId !==1|| $secondId !==1||count($api->testDb->rows) !==1||(int) $api->testDb->rows[0]['count'] !==2) if(( $api->testDb->rows[0][ 'request'] ?? '') !=='https://localhost/dbxapp/home/tutorial') if($api->testDb->begins !==2|| $api->testDb->commits !==2|| $api->testDb->rollbacks !==0|| $api->testDb->transaction) if($api->log_missing('') !==0|| $api->testDb->begins !==2|| $api->errors !==array()) | ( | $api->log_missing('') ! = = 0 || $api->testDb->begins !== 2 || $api->errors !== array() | ) |
Definition at line 114 of file dbxApi_missing_log_test.php.
Referenced by dbxMissingLogTestDb\begin(), dbxMissingLogTestDb\commit(), dbxMissingLogTestDb\insert(), and dbxMissingLogTestDb\update().