v9.2.2-rc8

qa/9.2.2-rc8
Rick Carlino 2020-04-10 09:37:39 -05:00
parent 73a304da56
commit 048e6db5fa
4 changed files with 10 additions and 14 deletions

View File

@ -7,6 +7,7 @@
* Added coveralls test coverage reporter
* Unit test additions (+2.7% coverage :tada:)
* Updates to build instructions for third party developers
* Bug fix for criteria-based groups that have only one filter criteria.
# 9.2.1

View File

@ -1 +1 @@
9.2.2-rc7
9.2.2-rc8

View File

@ -108,18 +108,13 @@ defmodule FarmbotCore.Asset.CriteriaRetrieverTest do
end
test "direct match on `pointer_type` via `string_eq`" do
point!(%{
id: 42111,
gantry_mounted: false,
meta: %{},
name: "Spinach",
plant_stage: "planned",
pointer_type: "Plant",
radius: 25.0,
x: 400.0,
y: 100.0,
z: 0.0
})
Repo.delete_all(PointGroup)
Repo.delete_all(Point)
point!(%{id: 1, pointer_type: "Plant"})
point!(%{id: 2, pointer_type: "Weed"})
point!(%{id: 3, pointer_type: "ToolSlot"})
point!(%{id: 4, pointer_type: "GenericPointer"})
result = CriteriaRetriever.run(@simple_point_group)
assert Enum.count(result) == 1

View File

@ -1,6 +1,6 @@
defmodule FarmbotCore.ProjectTest do
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
actual = FarmbotCore.Project.arduino_commit()