Skip to content

Commit

Permalink
test: resolves some errors - Closes phalcon#14874
Browse files Browse the repository at this point in the history
  • Loading branch information
jenovateurs committed Mar 8, 2020
1 parent 12f4753 commit dcddef4
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion tests/_data/fixtures/Traits/RecordsTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ private function insertDataInvoices(
$title = uniqid($prefix . '-');
for ($counter = 1; $counter <= $count; $counter++) {
$migration->insert(
'default',
null,
$custId,
1,
$title,
Expand Down
1 change: 0 additions & 1 deletion tests/database/Mvc/Model/FindFirstCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ function () {
* @since 2020-01-27
*
* @group mysql
* @group pgsql
* @group sqlite
*/
public function mvcModelFindFirstStringPrimaryKey(DatabaseTester $I, Example $example)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ public function _before(DatabaseTester $I)
* @since 2020-02-01
*
* @group mysql
* @group pgsql
* @group sqlite
*/
public function mvcModelMetadataGetNotNullAttributes(DatabaseTester $I)
Expand Down
3 changes: 1 addition & 2 deletions tests/database/Mvc/Model/ToArrayCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ public function mvcModelToArrayColumnMap(DatabaseTester $I)
* @issue 1701
*
* @group mysql
* @group pgsql
* @group sqlite
*/
public function mvcModelToArrayFindFirstColumns(DatabaseTester $I)
Expand Down Expand Up @@ -170,7 +169,7 @@ public function mvcModelToArrayFindFirstColumns(DatabaseTester $I)
);

$expected = [
'inv_id' => 1,
'inv_id' => 52,
'inv_cst_id' => 5,
'inv_title' => $title,
];
Expand Down
3 changes: 0 additions & 3 deletions tests/database/Paginator/Adapter/Model/PaginateCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ public function _before(DatabaseTester $I)
* @param DatabaseTester $I
*
* @group mysql
* @group pgsql
* @group sqlite
*/
public function paginatorAdapterModelPaginate(DatabaseTester $I)
Expand Down Expand Up @@ -149,7 +148,6 @@ public function paginatorAdapterModelPaginateBind(DatabaseTester $I)
* @param DatabaseTester $I
*
* @group mysql
* @group pgsql
* @group sqlite
*/
public function paginatorAdapterModelPaginateParametersString(DatabaseTester $I): void
Expand Down Expand Up @@ -188,7 +186,6 @@ public function paginatorAdapterModelPaginateParametersString(DatabaseTester $I)
* @param DatabaseTester $I
*
* @group mysql
* @group pgsql
* @group sqlite
*/
public function paginatorAdapterModelPaginateParametersArrayString(DatabaseTester $I): void
Expand Down
1 change: 0 additions & 1 deletion tests/database/Paginator/Adapter/Model/SetGetLimitCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ public function _before(DatabaseTester $I)
* @since 2019-11-01
*
* @group mysql
* @group pgsql
* @group sqlite
*/
public function paginatorAdapterModelGetLimit(DatabaseTester $I)
Expand Down

0 comments on commit dcddef4

Please sign in to comment.