Browse Source

Fixed typo

Jose Lorenzo Rodriguez 10 years ago
parent
commit
131cb91304
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/Database/Expression/Comparison.php
  2. 1 1
      tests/TestCase/Database/QueryTest.php

+ 1 - 1
src/Database/Expression/Comparison.php

@@ -194,7 +194,7 @@ class Comparison implements ExpressionInterface, FieldInterface
             if ($value === '') {
                 $field = $this->_field instanceof ExpressionInterface ? $this->_field->sql($generator) : $this->_field;
                 throw new DatabaseException(
-                    "Imposible to generate condition with empty list of values for field ($field)"
+                    "Impossible to generate condition with empty list of values for field ($field)"
                 );
             }
         } else {

+ 1 - 1
tests/TestCase/Database/QueryTest.php

@@ -639,7 +639,7 @@ class QueryTest extends TestCase
      * result in a SQL error, but an internal exception
      *
      * @expectedException Cake\Database\Exception
-     * @expectedExceptionMessage Imposible to generate condition with empty list of values for field
+     * @expectedExceptionMessage Impossible to generate condition with empty list of values for field
      * @return void
      */
     public function testSelectWhereArrayTypeEmpty()