Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added tests for paginator query builder with different service
- Loading branch information
1 parent
bbd7753
commit 6fa4749
Showing
2 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?php | ||
|
||
namespace Phalcon\Test\Models; | ||
|
||
use Phalcon\Mvc\Model; | ||
|
||
/** | ||
* Robos | ||
* | ||
* "Robôs" is robots in portuguese | ||
* | ||
* @author David Napierata | ||
* | ||
* @package Phalcon\Test\Models | ||
*/ | ||
class Robos extends Model | ||
{ | ||
public function getSource() | ||
{ | ||
return 'robots'; | ||
} | ||
|
||
public function initialize() | ||
{ | ||
$this->setConnectionService('dbTwo'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters