diff options
author | Michal Čihař <michal@cihar.com> | 2017-12-14 12:13:26 +0100 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2017-12-14 12:13:26 +0100 |
commit | 108fbfff240e661e14768e190f24d22081369f29 (patch) | |
tree | 91482472cfc4c9aecea34a051e1344b4d046d45b | |
parent | 4cdcea4411abef7a53a9019593116cf19ed7b640 (diff) | |
download | sql-parser-108fbfff240e661e14768e190f24d22081369f29.zip sql-parser-108fbfff240e661e14768e190f24d22081369f29.tar.gz sql-parser-108fbfff240e661e14768e190f24d22081369f29.tar.bz2 |
Use setUp instead of constructor for generating list
Newer phpunit versions pass parameters to __construct
Signed-off-by: Michal Čihař <michal@cihar.com>
-rw-r--r-- | tests/Lexer/TokensListTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Lexer/TokensListTest.php b/tests/Lexer/TokensListTest.php index c379b0d..7e7bfb5 100644 --- a/tests/Lexer/TokensListTest.php +++ b/tests/Lexer/TokensListTest.php @@ -16,9 +16,9 @@ class TokensListTest extends TestCase public $tokens; /** - * Constructor. + * Test setup. */ - public function __construct() + public function setUp() { $this->tokens = array( new Token('SELECT', Token::TYPE_KEYWORD), |