Skip to content

Commit

Permalink
spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
KenWilliamson committed Aug 5, 2020
1 parent ec2aacc commit 6ef5b6e
Show file tree
Hide file tree
Showing 6 changed files with 595 additions and 593 deletions.
2 changes: 1 addition & 1 deletion cartItem_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func TestSix910Mysql_AddCartItem(t *testing.T) {
prod.Promoted = true
prod.SalePrice = 160.99
prod.Searchable = true
prod.ShipSeperately = false
prod.ShipSeparately = false
prod.ShippingMarkup = 3.40
prod.ShortDesc = "short desc"
prod.Size = "XL"
Expand Down
1,172 changes: 586 additions & 586 deletions coverage.out

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ require (
github.com/Ulbora/Level_Logger v1.0.2
github.com/Ulbora/dbinterface v1.0.5
github.com/Ulbora/dbinterface_mysql v1.0.7
github.com/Ulbora/six910-database-interface v1.0.19
github.com/Ulbora/six910-database-interface v1.0.20
github.com/go-sql-driver/mysql v1.5.0 // indirect
)
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ github.com/Ulbora/six910-database-interface v1.0.18 h1:1/FUHbY14RJ8lJtSeDXTAu6ok
github.com/Ulbora/six910-database-interface v1.0.18/go.mod h1:OGqZQ5ETgqxsHB636qmivSR36NzQxhV4T+ATsIUJSLM=
github.com/Ulbora/six910-database-interface v1.0.19 h1:gfVmg0TAn065ytdFcVYrY1Zvct4L/xiQClVnTSmGpFw=
github.com/Ulbora/six910-database-interface v1.0.19/go.mod h1:OGqZQ5ETgqxsHB636qmivSR36NzQxhV4T+ATsIUJSLM=
github.com/Ulbora/six910-database-interface v1.0.20 h1:c4niG5rNG4uXB2dOUsOUYPyLoQfY8dIHpnLhlV4f/nc=
github.com/Ulbora/six910-database-interface v1.0.20/go.mod h1:OGqZQ5ETgqxsHB636qmivSR36NzQxhV4T+ATsIUJSLM=
github.com/go-sql-driver/mysql v1.4.1 h1:g24URVg0OFbNUTx9qqY1IRZ9D9z3iPyi5zKhQZpNwpA=
github.com/go-sql-driver/mysql v1.4.1/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w=
github.com/go-sql-driver/mysql v1.5.0 h1:ozyZYNQW3x3HtqT1jira07DN2PArx2v7/mN66gGcHOs=
Expand Down
6 changes: 3 additions & 3 deletions product.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func (d *Six910Mysql) AddProduct(p *mdb.Product) (bool, int64) {
var a []interface{}
a = append(a, p.Sku, p.Gtin, p.Name, p.ShortDesc, p.Desc, p.Cost, p.Msrp, p.Map, p.Price, p.SalePrice,
p.Currency, p.ManufacturerID, p.Manufacturer, p.Stock, p.StockAlert, p.Weight, p.Width, p.Height, p.Depth,
p.ShippingMarkup, p.Visible, p.Searchable, p.MultiBox, p.ShipSeperately, p.FreeShipping,
p.ShippingMarkup, p.Visible, p.Searchable, p.MultiBox, p.ShipSeparately, p.FreeShipping,
time.Now(), p.DistributorID, p.Promoted, p.Dropship, p.Size, p.Color, p.ParentProductID,
p.StoreID, p.Thumbnail, p.Image1, p.Image2, p.Image3, p.Image4, p.SpecialProcessing,
p.SpecialProcessingType)
Expand All @@ -55,7 +55,7 @@ func (d *Six910Mysql) UpdateProduct(p *mdb.Product) bool {
var a []interface{}
a = append(a, p.Sku, p.Gtin, p.Name, p.ShortDesc, p.Desc, p.Cost, p.Msrp, p.Map, p.Price, p.SalePrice,
p.Currency, p.ManufacturerID, p.Manufacturer, p.Stock, p.StockAlert, p.Weight, p.Width, p.Height, p.Depth,
p.ShippingMarkup, p.Visible, p.Searchable, p.MultiBox, p.ShipSeperately, p.FreeShipping,
p.ShippingMarkup, p.Visible, p.Searchable, p.MultiBox, p.ShipSeparately, p.FreeShipping,
time.Now(), p.DistributorID, p.Promoted, p.Dropship, p.Size, p.Color, p.ParentProductID,
p.Thumbnail, p.Image1, p.Image2, p.Image3, p.Image4, p.SpecialProcessing,
p.SpecialProcessingType, p.ID)
Expand Down Expand Up @@ -246,7 +246,7 @@ func (d *Six910Mysql) parseProductRow(foundRow *[]string) *mdb.Product {
rtn.Promoted = promoted
rtn.SalePrice = salePrice
rtn.Searchable = searchable
rtn.ShipSeperately = sSep
rtn.ShipSeparately = sSep
rtn.ShippingMarkup = sMarkup
rtn.SpecialProcessing = sproc
rtn.Stock = stock
Expand Down
4 changes: 2 additions & 2 deletions product_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func TestSix910Mysql_AddProduct(t *testing.T) {
prod.Promoted = true
prod.SalePrice = 160.99
prod.Searchable = true
prod.ShipSeperately = false
prod.ShipSeparately = false
prod.ShippingMarkup = 3.40
prod.ShortDesc = "short desc"
prod.Size = "XL"
Expand Down Expand Up @@ -156,7 +156,7 @@ func TestSix910Mysql_AddProduct(t *testing.T) {
prod.Promoted = false
prod.SalePrice = 160.92
prod.Searchable = false
prod.ShipSeperately = true
prod.ShipSeparately = true
prod.ShippingMarkup = 3.42
prod.ShortDesc = "short desc2"
prod.Size = "XL2"
Expand Down

0 comments on commit 6ef5b6e

Please sign in to comment.