Skip to content
GitLab
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
27889deb
Commit
27889deb
authored
May 26, 2016
by
Carsten Rose
Browse files
Test: phpUnit tests updated
parent
ed7029e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
extension/qfq/tests/phpunit/DatabaseTest.php
View file @
27889deb
...
...
@@ -251,18 +251,9 @@ class DatabaseTest extends AbstractDatabaseTest {
$sql
=
"SHOW TABLES"
;
$rc
=
$this
->
db
->
sql
(
$sql
,
ROW_REGULAR
,
$dummy
,
'fake'
,
$dummy
,
$stat
);
$this
->
assertEquals
([
0
=>
[
'Tables_in_crose_qfq_db_phpunit'
=>
'Address'
],
1
=>
[
'Tables_in_crose_qfq_db_phpunit'
=>
'Form'
],
2
=>
[
'Tables_in_crose_qfq_db_phpunit'
=>
'FormElement'
],
3
=>
[
'Tables_in_crose_qfq_db_phpunit'
=>
'Gruppe'
],
4
=>
[
'Tables_in_crose_qfq_db_phpunit'
=>
'Note'
],
5
=>
[
'Tables_in_crose_qfq_db_phpunit'
=>
'Person'
],
6
=>
[
'Tables_in_crose_qfq_db_phpunit'
=>
'note'
]
],
$rc
);
// DB_NUM_ROWS | DB_INSERT_ID | DB_AFFECTED_ROWS
$this
->
assertEquals
(
7
,
$stat
[
DB_NUM_ROWS
]);
$this
->
assertEquals
(
6
,
$stat
[
DB_NUM_ROWS
]);
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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