Comments (3)
If that test was copied over from yii2 and was working without casting to float, we better understand what changed and why.
Could you check how it's done in yii2?
from db.
According to:
https://phpunit.de/manual/6.5/en/appendixes.assertions.html
If I change that line to:
$this->assertEquals((float)$floatCol, (float) $row['float_col']);
test succeded.
Are you agree to update that line?
from db.
Explained here: #44 (review)
from db.
Related Issues (20)
- NoSQL databases (particularly MongoDB) HOT 5
- Non-consistent types in `BatchQueryResultInterface`
- Use Param object instead of array HOT 1
- Supports PHPs DateTime instances HOT 2
- What is the difference between `InvalidArgumentException` and `InvalidParamException`? HOT 3
- Missing method in ExpressionBuilderInterface? HOT 3
- Table foreign keys load two times as arrays and as objects HOT 5
- Suggestion to speed up the casting of values HOT 3
- Replace `object` type for constraint name with `Stringable` HOT 4
- DB agnostic `ForeignKeyConstraint::getOnUpdate()` and `ForeignKeyConstraint::getOnDelete()` HOT 1
- Inconsistency of `Schema::getTableForeignKeys()` HOT 2
- Unique indexes can be loaded in 3 different ways HOT 1
- Make array type only for `Constraint::$columnNames`
- Support enum values by all DBMS
- `Query::count()` can return `int|string` but always returns `int` HOT 1
- `Query::leftJoin` - a simpler way to quote join column? HOT 3
- Remove `$withColumn` parameter from `getTableNameParts()` HOT 3
- Remove method `TableSchema::compositeForeignKey()` HOT 1
- `CommandInterface::getRawSQL()` - using in production / alternative HOT 12
- `Schema::hasTableName()` method is missing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from db.