Skip to content

Commit

Permalink
Merge branch 'release/51.0.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
alaingilbert committed Oct 3, 2022
2 parents 0302713 + 1a93978 commit 11d5444
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/extractor/v71/extracts.go
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ type planetTechsResp struct {
Num13101 int64 `json:"13101"`
Num13102 int64 `json:"13102"`
Num13103 int64 `json:"13103"`
Num12304 int64 `json:"12304"`
Num13104 int64 `json:"13104"`
Num13105 int64 `json:"13105"`
Num13106 int64 `json:"13106"`
Num13107 int64 `json:"13107"`
Expand Down
4 changes: 3 additions & 1 deletion pkg/extractor/v9/extractor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ func TestExtractEspionageReport(t *testing.T) {

func TestExtractOverviewProduction(t *testing.T) {
pageHTMLBytes, _ := ioutil.ReadFile("../../../samples/v9.0.2/en/lifeform/overview_all_queues.html")
prods, countdown, _ := NewExtractor().ExtractOverviewProduction(pageHTMLBytes)
e := NewExtractor()
e.SetLifeformEnabled(true)
prods, countdown, _ := e.ExtractOverviewProduction(pageHTMLBytes)
assert.Equal(t, 4, len(prods))
assert.Equal(t, int64(1660), countdown)
assert.Equal(t, ogame.SmallCargoID, prods[0].ID)
Expand Down
2 changes: 1 addition & 1 deletion pkg/ogame/lfBuildings.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ type LfBuildings struct {
AssemblyLine int64 // 13101 // Lifeform (mechas)
FusionCellFactory int64 // 13102
RoboticsResearchCentre int64 // 13103
UpdateNetwork int64 // 12304
UpdateNetwork int64 // 13104
QuantumComputerCentre int64 // 13105
AutomatisedAssemblyCentre int64 // 13106
HighPerformanceTransformer int64 // 13107
Expand Down

0 comments on commit 11d5444

Please sign in to comment.