Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
90dd3d82
Commit
90dd3d82
authored
Nov 22, 2017
by
Carsten Rose
Browse files
phpunit: try & error commit
parent
e465b436
Changes
1
Hide whitespace changes
Inline
Side-by-side
extension/qfq/tests/phpunit/DatabaseTest.php
View file @
90dd3d82
...
...
@@ -255,8 +255,13 @@ class DatabaseTest extends AbstractDatabaseTest {
$rc
=
$this
->
dbArray
[
DB_INDEX_DATA_DEFAULT
]
->
sql
(
$sql
,
ROW_REGULAR
,
$dummy
,
'fake'
,
$dummy
,
$stat
);
// DB_NUM_ROWS | DB_INSERT_ID | DB_AFFECTED_ROWS
$this
->
assertEquals
(
array
(),
$rc
);
$this
->
assertEquals
(
10
,
$stat
[
DB_NUM_ROWS
]);
$all
=
''
;
foreach
(
$rc
as
$val
)
{
$all
.
=
'-'
.
implode
(
'-'
,
$val
);
}
$this
->
assertEquals
(
'-Address-Clipboard-Cron-Dirty-Form-FormElement-MailLog-Note-Period-Person'
,
$all
);
// $this->assertEquals(10, $stat[DB_NUM_ROWS]);
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment