v9.2.2-rc8
parent
73a304da56
commit
048e6db5fa
|
@ -7,6 +7,7 @@
|
||||||
* Added coveralls test coverage reporter
|
* Added coveralls test coverage reporter
|
||||||
* Unit test additions (+2.7% coverage :tada:)
|
* Unit test additions (+2.7% coverage :tada:)
|
||||||
* Updates to build instructions for third party developers
|
* Updates to build instructions for third party developers
|
||||||
|
* Bug fix for criteria-based groups that have only one filter criteria.
|
||||||
|
|
||||||
# 9.2.1
|
# 9.2.1
|
||||||
|
|
||||||
|
|
|
@ -108,18 +108,13 @@ defmodule FarmbotCore.Asset.CriteriaRetrieverTest do
|
||||||
end
|
end
|
||||||
|
|
||||||
test "direct match on `pointer_type` via `string_eq`" do
|
test "direct match on `pointer_type` via `string_eq`" do
|
||||||
point!(%{
|
Repo.delete_all(PointGroup)
|
||||||
id: 42111,
|
Repo.delete_all(Point)
|
||||||
gantry_mounted: false,
|
|
||||||
meta: %{},
|
point!(%{id: 1, pointer_type: "Plant"})
|
||||||
name: "Spinach",
|
point!(%{id: 2, pointer_type: "Weed"})
|
||||||
plant_stage: "planned",
|
point!(%{id: 3, pointer_type: "ToolSlot"})
|
||||||
pointer_type: "Plant",
|
point!(%{id: 4, pointer_type: "GenericPointer"})
|
||||||
radius: 25.0,
|
|
||||||
x: 400.0,
|
|
||||||
y: 100.0,
|
|
||||||
z: 0.0
|
|
||||||
})
|
|
||||||
|
|
||||||
result = CriteriaRetriever.run(@simple_point_group)
|
result = CriteriaRetriever.run(@simple_point_group)
|
||||||
assert Enum.count(result) == 1
|
assert Enum.count(result) == 1
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
defmodule FarmbotCore.ProjectTest do
|
defmodule FarmbotCore.ProjectTest do
|
||||||
use ExUnit.Case
|
use ExUnit.Case
|
||||||
@opts [cd: Path.join("c_src", "farmbot-arduino-firmware")]
|
# @opts [cd: Path.join("c_src", "farmbot-arduino-firmware")]
|
||||||
|
|
||||||
test "arduino_commit" do
|
test "arduino_commit" do
|
||||||
actual = FarmbotCore.Project.arduino_commit()
|
actual = FarmbotCore.Project.arduino_commit()
|
||||||
|
|
Loading…
Reference in New Issue