Selaa lähdekoodia

merged branch drak/doctrinebundles_tests (PR #2650)

Commits
-------

f83ef1e [DoctrineBundle] Fix tests - incorrect class names (copy paste error most probably)

Discussion
----------

[DoctrineBundle] Fix tests - incorrect class names

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -

Some classes are incorrectly named resulting in failed tests for DoctrineBundle, looks like a copy paste error.
Fabien Potencier 13 vuotta sitten
vanhempi
commit
262bf54d51

+ 1 - 1
src/Symfony/Bundle/DoctrineBundle/Tests/DependencyInjection/TestDatetimeFunction.php

@@ -15,7 +15,7 @@ use Doctrine\ORM\Query\AST\Functions\FunctionNode;
 use Doctrine\ORM\Query\SqlWalker;
 use Doctrine\ORM\Query\Parser;
 
-class TestStringFunction extends FunctionNode
+class TestDatetimeFunction extends FunctionNode
 {
     public function getSql(SqlWalker $sqlWalker)
     {

+ 1 - 1
src/Symfony/Bundle/DoctrineBundle/Tests/DependencyInjection/TestNumericFunction.php

@@ -15,7 +15,7 @@ use Doctrine\ORM\Query\AST\Functions\FunctionNode;
 use Doctrine\ORM\Query\SqlWalker;
 use Doctrine\ORM\Query\Parser;
 
-class TestStringFunction extends FunctionNode
+class TestNumericFunction extends FunctionNode
 {
     public function getSql(SqlWalker $sqlWalker)
     {