Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
domi4484 authored and nyalldawson committed Jun 28, 2021
1 parent 2d1bb60 commit ae0d37a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/python/test_qgsauxiliarystorage.py
Expand Up @@ -551,7 +551,7 @@ def testInvalidPrimaryKey(self):

# create auxiliary storage based on the invalid field
s = QgsAuxiliaryStorage()
pkf = vl.fields().field(vl.fields().indexOf('invalid_pk'))
pkf = field
al = s.createAuxiliaryLayer(pkf, vl)

self.assertEqual(al, None)
Expand Down

0 comments on commit ae0d37a

Please sign in to comment.