Skip to content

Commit 33e5787

Browse files
committed
update to dynamic 1
1 parent d0377ca commit 33e5787

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

mix.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"crux": {:hex, :crux, "0.1.2", "4441c9e3a34f1e340954ce96b9ad5a2de13ceb4f97b3f910211227bb92e2ca90", [:mix], [{:picosat_elixir, "~> 0.2", [hex: :picosat_elixir, repo: "hexpm", optional: true]}, {:simple_sat, ">= 0.1.1 and < 1.0.0-0", [hex: :simple_sat, repo: "hexpm", optional: true]}, {:stream_data, "~> 1.0", [hex: :stream_data, repo: "hexpm", optional: true]}], "hexpm", "563ea3748ebfba9cc078e6d198a1d6a06015a8fae503f0b721363139f0ddb350"},
99
"db_connection": {:hex, :db_connection, "2.7.0", "b99faa9291bb09892c7da373bb82cba59aefa9b36300f6145c5f201c7adf48ec", [:mix], [{:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "dcf08f31b2701f857dfc787fbad78223d61a32204f217f15e881dd93e4bdd3ff"},
1010
"decimal": {:hex, :decimal, "2.3.0", "3ad6255aa77b4a3c4f818171b12d237500e63525c2fd056699967a3e7ea20f62", [:mix], [], "hexpm", "a4d66355cb29cb47c3cf30e71329e58361cfcb37c34235ef3bf1d7bf3773aeac"},
11-
"diffo": {:git, "https://github.com/diffo-dev/diffo.git", "9994aabd72cea1833d628195b9ef0fd097c4c885", [branch: "dev"]},
11+
"diffo": {:git, "https://github.com/diffo-dev/diffo.git", "9640dd460ce149e4cc4e3dd1308746ce7c465597", [branch: "dev"]},
1212
"earmark_parser": {:hex, :earmark_parser, "1.4.44", "f20830dd6b5c77afe2b063777ddbbff09f9759396500cdbe7523efd58d7a339c", [:mix], [], "hexpm", "4778ac752b4701a5599215f7030989c989ffdc4f6df457c5f36938cc2d2a2750"},
1313
"ecto": {:hex, :ecto, "3.13.5", "9d4a69700183f33bf97208294768e561f5c7f1ecf417e0fa1006e4a91713a834", [:mix], [{:decimal, "~> 2.0", [hex: :decimal, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: true]}, {:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "df9efebf70cf94142739ba357499661ef5dbb559ef902b68ea1f3c1fabce36de"},
1414
"ets": {:hex, :ets, "0.9.0", "79c6a6c205436780486f72d84230c6cba2f8a9920456750ddd1e47389107d5fd", [:mix], [], "hexpm", "2861fdfb04bcaeff370f1a5904eec864f0a56dcfebe5921ea9aadf2a481c822b"},

test/access/characteristic_value_test.exs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ defmodule DiffoExample.Access.CharacteristicValueTest do
3333

3434
describe "DiffoExample.Access create Characteristics" do
3535
test "create characteristics" do
36-
dslam_value = Value.dynamic(Dslam, Dslam.new!(%{name: @dslam, model: @model}))
36+
dslam_value = Value.dynamic(Dslam.new!(%{name: @dslam, model: @model}))
3737

3838
dslam =
3939
Diffo.Provider.create_characteristic!(%{
@@ -47,7 +47,7 @@ defmodule DiffoExample.Access.CharacteristicValueTest do
4747
assert encoding ==
4848
~s({\"name\":\"dslam\",\"value\":{\"name\":\"#{@dslam}\",\"family\":\"ISAM",\"model\":\"#{@model}\",\"technology\":\"eth\"}})
4949

50-
aggregate_interface_value = Value.dynamic(AggregateInterface,
50+
aggregate_interface_value = Value.dynamic(
5151
AggregateInterface.new!(%{
5252
name: "F DONC BOXH 010J",
5353
physical_interface: "1000BASE-LX",
@@ -69,7 +69,7 @@ defmodule DiffoExample.Access.CharacteristicValueTest do
6969
assert Jason.encode!(bandwidth_profile) ==
7070
~s({\"downstream\":24,\"upstream\":1,\"units\":\"Mbps\"})
7171

72-
circuit_value = Value.dynamic(Circuit,
72+
circuit_value = Value.dynamic(
7373
Circuit.new!%{
7474
circuit_id: @circuit_id,
7575
cvlan_id: @cvlan_id,
@@ -86,7 +86,7 @@ defmodule DiffoExample.Access.CharacteristicValueTest do
8686
assert Jason.encode!(circuit) ==
8787
~s({\"name\":\"circuit\",\"value\":{\"circuit_id\":\"#{@circuit_id}\",\"cvlan_id\":82,\"vci\":0,\"encapsulation\":\"IPoE\",\"bandwidth_profile\":{\"downstream\":24,\"upstream\":1,\"units\":\"Mbps\"}}})
8888

89-
line_value = Value.dynamic(Line,
89+
line_value = Value.dynamic(
9090
Line.new!(%{port: @port, slot: @slot, standard: :ADSL2plus, profile: @profile})
9191
)
9292

0 commit comments

Comments
 (0)