Skip to content

Commit

Permalink
fix broken image link in TestActionGetResource (#4075)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarunKoyalwar authored Aug 21, 2023
1 parent fd76914 commit 430e2b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions v2/pkg/protocols/headless/engine/page_actions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ func TestActionGetResource(t *testing.T) {
<title>Nuclei Test Page</title>
</head>
<body>
<img id="test" src="https://nuclei.projectdiscovery.io/static/logo.png">
<img id="test" src="https://raw.githubusercontent.com/projectdiscovery/wallpapers/main/pd-floppy.jpg">
</body>
</html>`

Expand All @@ -360,7 +360,7 @@ func TestActionGetResource(t *testing.T) {

testHeadlessSimpleResponse(t, response, actions, 20*time.Second, func(page *Page, err error, out map[string]string) {
require.Nil(t, err, "could not run page actions")
require.Equal(t, len(out["src"]), 3159, "could not find resource")
require.Equal(t, len(out["src"]), 121808, "could not find resource")
})
}

Expand Down

0 comments on commit 430e2b9

Please sign in to comment.